Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GaCabinet ¶
type GaCabinet struct { Id string `xorm:"not null pk autoincr UNSIGNED INT(11)"` Title string `xorm:"not null default '' comment('名称') unique VARCHAR(50)"` Number int `xorm:"not null comment('编号') unique INT(11)"` RdId int `xorm:"not null comment('部门id') INT(11)"` MailNum int `xorm:"not null comment('当前柜内邮件数') INT(11)"` UpdateMid int `xorm:"default 0 comment('开柜后,最后更新的邮件id') INT(11)"` LastMid int `xorm:"default 0 comment('最后id') INT(11)"` OpenStatus int `xorm:"not null default 1 comment('是否开门(1关门 2程序开门 3手动开门)') index(open_status) TINYINT(1)"` OnlineStatus int `xorm:"not null default 1 comment('是否在运行(1开机 2关机)') index(open_status) TINYINT(1)"` LastOpenTime time.Time `xorm:"comment('最后开锁时间') DATETIME"` IsSelected int `xorm:"not null default 1 comment('码枪是否被选中(1未选中 2选中)') TINYINT(1)"` UpdateTime time.Time `xorm:"comment('修改时间') DATETIME"` DeleteTime time.Time `xorm:"comment('删除时间') DATETIME"` }
func (*GaCabinet) TableComment ¶
type GaCabinetOpenOperation ¶
type GaCabinetOpenOperation struct { Id string `xorm:"not null pk autoincr UNSIGNED INT(11)"` Command int `xorm:"not null comment('开柜命令') INT(11)"` Uid int `xorm:"not null comment('操作人') INT(11)"` Cid int `xorm:"not null comment('快递柜id') INT(11)"` Status int `xorm:"not null comment('状态(1待执行 2正在执行 3执行成功 4执行失败)') index TINYINT(1)"` CreateTime time.Time `xorm:"comment('创建时间') DATETIME"` UpdateTime time.Time `xorm:"comment('修改时间') DATETIME"` DeleteTime time.Time `xorm:"comment('删除时间') DATETIME"` }
func (*GaCabinetOpenOperation) TableComment ¶
func (m *GaCabinetOpenOperation) TableComment() string
func (*GaCabinetOpenOperation) TableName ¶
func (m *GaCabinetOpenOperation) TableName() string
type GaMail ¶
type GaMail struct { Id string `xorm:"not null pk autoincr index(id) UNSIGNED INT(11)"` WaybillNo string `xorm:"not null comment('运单号') unique VARCHAR(100)"` CId int `xorm:"not null comment('快递柜id') INT(11)"` RdId int `xorm:"not null comment('部门id') INT(11)"` RegisterTime time.Time `xorm:"comment('登记时间') DATETIME"` PickupTime time.Time `xorm:"comment('取件时间') DATETIME"` FormType int `xorm:"comment('来源(1投递 2扫码枪 3手动录入)') index(id) TINYINT(1)"` Remark string `xorm:"comment('备注') TEXT"` CreateTime time.Time `xorm:"comment('创建时间') DATETIME"` UpdateTime time.Time `xorm:"comment('修改时间') DATETIME"` DeleteTime time.Time `xorm:"comment('删除时间') DATETIME"` LastUpdateId string `xorm:"default '' comment('最后修改用户标识') VARCHAR(50)"` }
func (*GaMail) TableComment ¶
type GaReceiveDep ¶
type GaReceiveDep struct { Id string `xorm:"not null pk autoincr UNSIGNED INT(11)"` Title string `xorm:"not null default '' comment('名称') unique VARCHAR(50)"` }
func (*GaReceiveDep) TableComment ¶
func (m *GaReceiveDep) TableComment() string
func (*GaReceiveDep) TableName ¶
func (m *GaReceiveDep) TableName() string
type GaToken ¶
type GaToken struct { Id string `xorm:"not null pk autoincr UNSIGNED INT(11)"` Uid int `xorm:"not null default 0 INT(11)"` Token string `xorm:"not null unique VARCHAR(50)"` ExpirationTime int `xorm:"not null comment('过期时间') INT(11)"` CreateTime time.Time `xorm:"comment('创建时间') DATETIME"` UpdateTime time.Time `xorm:"comment('修改时间') DATETIME"` DeleteTime time.Time `xorm:"comment('删除时间') DATETIME"` LastUpdateId string `xorm:"default '' comment('最后修改用户标识') VARCHAR(50)"` }
func (*GaToken) TableComment ¶
type GaUser ¶
type GaUser struct { Id string `xorm:"not null pk autoincr UNSIGNED INT(11)"` Nickname string `xorm:"not null default '' comment('昵称') VARCHAR(50)"` Username string `xorm:"not null default '' comment('账号') VARCHAR(50)"` Password string `xorm:"not null comment('密码') TEXT"` Phone string `xorm:"default '' comment('电话号') CHAR(11)"` CreateTime time.Time `xorm:"comment('创建时间') DATETIME"` UpdateTime time.Time `xorm:"comment('修改时间') DATETIME"` DeleteTime time.Time `xorm:"comment('删除时间') DATETIME"` LastUpdateId string `xorm:"default '' comment('最后修改用户标识') VARCHAR(50)"` }
func (*GaUser) TableComment ¶
Click to show internal directories.
Click to hide internal directories.