package viewmodels // OcInfo Oc Info type OcInfo struct { OcId int64 `json:"ocId" xorm:"'oc_id' bigint pk comment('主键ID') " ` OcName string `json:"ocName" xorm:"'oc_name' varchar(127) comment('ENT类型名称') " ` OcTypeId int64 `json:"ocTypeId" xorm:"'oc_type_id' bigint comment('Type ID') " ` OcTypeTitle string `json:"ocTypeTitle" xorm:"'oc_type_title' varchar(50) comment('群组类型名称') " ` OcCatId int64 `json:"ocCatId" xorm:"'oc_cat_id' bigint comment('Cat ID') " ` OcCatTitle string `json:"ocCatTitle" xorm:"'oc_cat_title' varchar(50) comment('群组类型名称') "` RootId int64 `json:"rootId" xorm:"'root_id' bigint comment('Root ID') " ` ParentId int64 `json:"parentId" xorm:"'parent_id' bigint comment('Parent ID') " ` AdminId int64 `json:"adminId" xorm:"'admin_id' bigint comment('Admin ID') " ` AdminName string `json:"adminName" xorm:"'admin_name' varchar(127) comment('Admin Name') " ` GroupId int64 `json:"groupId" xorm:"'group_id' bigint comment('Root Group Id')" ` IfLic int `json:"ifLic" xorm:"'if_lic' int comment('Admin ID') " ` NodeLeft int `json:"nodeLeft" xorm:"'node_left' int comment('Admin ID') " ` NodeRight int `json:"nodeRight" xorm:"'node_right' int comment('Admin ID') " ` IsLeaf int `json:"isLeaf" xorm:"'is_leaf' int comment('Admin ID') " ` NodeLevel int `json:"nodeLevel" xorm:"'node_level' int comment('Admin ID') " ` Status int `json:"status" xorm:"'status' int comment('OC Status') " ` } func (t *OcInfo) TableName() string { return "oc" }