1234567891011121314151617 |
- package response
- import "time"
- type SysCompanyResponse struct {
- Id int64 `excel:"name= " xorm:"pk autoincr notnull comment('')" json:"id" binding:"required"` //
- Label string `excel:"name=公司名称 " xorm:"varchar(64) comment('公司名称')" json:"label" binding:"required"` //公司名称
- UserId int64 `excel:"name=管理员Id " xorm:"bigint(20) comment('管理员Id')" json:"userId" ` //管理员Id
- IsTip int `excel:"name=是否到期提醒 ,format=1=否,2=是" xorm:"int(1) notnull default(1) comment('是否到期提醒')" json:"isTip" ` //是否到期提醒(1否 2是)
- IsPay int `excel:"name=是否续费提醒 ,format=1=否,2=是" xorm:"int(1) notnull default(1) comment('是否续费提醒')" json:"isPay" ` //是否续费提醒(1否 2是)
- Status int `excel:"name=状态 ,format=1=试用,2=正常,3=锁定,4=过期" xorm:"int(1) notnull default(1) comment('状态')" json:"status" binding:"required,oneof=1 2 3 4 "` //状态(1试用 2正常 3锁定 4过期)
- EffectiveDate time.Time `excel:"name=有效日期 " xorm:"datetime comment('有效日期')" json:"effectiveDate" ` //有效日期
- CreateTime time.Time `excel:"name=创建时间 " xorm:"datetime comment('创建时间')" json:"createTime" ` //创建时间
- CreateBy string `excel:"name=创建人 " xorm:"varchar(255) comment('创建人')" json:"createBy" ` //创建人
- UpdateTime time.Time `excel:"name=更新时间 " xorm:"datetime comment('更新时间')" json:"updateTime" ` //更新时间
- UpdateBy string `excel:"name=更新人 " xorm:"varchar(255) comment('更新人')" json:"updateBy" ` //更新人
- }
|