2023-01-06 10:09:23 +08:00
|
|
|
package model
|
|
|
|
|
|
|
|
// MatterModel 物模型
|
|
|
|
type MatterModel struct {
|
|
|
|
MatterId int64 `xorm:"not null pk autoincr INT(11)" json:"matterId"`
|
|
|
|
MatterName string `xorm:"varchar(200) not null" json:"matterName"`
|
|
|
|
CategoryId int64 `xorm:"not null INT(11) default 0 index" json:"categoryId"`
|
|
|
|
Protocol int `xorm:"not null INT(11) default 0" json:"protocol"`
|
2023-01-10 10:01:42 +08:00
|
|
|
Connection int `xorm:"not null SMALLINT default 0" json:"connection"`
|
2023-01-06 10:09:23 +08:00
|
|
|
UserVersion int64 `xorm:"not null INT(11) default 0" json:"userVersion"`
|
2023-01-10 10:01:42 +08:00
|
|
|
ModelDesc string `xorm:"VARCHAR(200)" json:"modelDesc"`
|
2023-01-06 10:09:23 +08:00
|
|
|
Status int `xorm:"not null INT(11) default 0" json:"status"`
|
|
|
|
CreateAt int64 `xorm:"created" json:"createAt"`
|
|
|
|
UpdateAt int64 `xorm:"updated" json:"updateAt"`
|
|
|
|
}
|