package req

import (
	"time"
	"ulink-admin/pkg/base"
)

type SysCompanyQuery struct {
	base.GlobalQuery
	Id            int64     `form:"id"`            //
	Label         string    `form:"label"`         //公司名称
	UserId        int64     `form:"userId"`        //管理员Id
	IsTip         int       `form:"isTip"`         //是否到期提醒(1否 2是)
	IsPay         int       `form:"isPay"`         //是否续费提醒(1否 2是)
	Status        int       `form:"status"`        //状态(1试用 2正常 3锁定 4过期)
	EffectiveDate time.Time `form:"effectiveDate"` //有效日期
	CreateTime    time.Time `form:"createTime"`    //创建时间
	CreateBy      string    `form:"createBy"`      //创建人
	UpdateTime    time.Time `form:"updateTime"`    //更新时间
	UpdateBy      string    `form:"updateBy"`      //更新人
}

type SysCompanyBody struct {
	Id            int64     `json:"id" binding:"required"`     //
	Label         string    `json:"label" binding:"required"`  //公司名称
	UserId        int64     `json:"userId" `                   //管理员Id
	IsTip         int       `json:"isTip" `                    //是否到期提醒(1否 2是)
	IsPay         int       `json:"isPay" `                    //是否续费提醒(1否 2是)
	Status        int       `json:"status" binding:"required"` //状态(1试用 2正常 3锁定 4过期)
	EffectiveDate time.Time `json:"effectiveDate" `            //有效日期
	CreateTime    time.Time `json:"createTime" `               //创建时间
	CreateBy      string    `json:"createBy" `                 //创建人
	UpdateTime    time.Time `json:"updateTime" `               //更新时间
	UpdateBy      string    `json:"updateBy" `                 //更新人
}