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" `
- IsTip int `excel:"name=是否到期提醒 ,format=1=否,2=是" xorm:"int(1) notnull default(1) comment('是否到期提醒')" json:"isTip" `
- IsPay int `excel:"name=是否续费提醒 ,format=1=否,2=是" xorm:"int(1) notnull default(1) comment('是否续费提醒')" json:"isPay" `
- 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 "`
- 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" `
- }
|