package datamodel import "time" type Oc 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') " ` OcCatId int64 `json:"ocCatId" xorm:"'oc_cat_id' bigint comment('Cat ID') " ` 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') " ` GroupId int64 `json:"groupId" xorm:"'group_id' bigint comment('Root Group Id')" ` IfLic int64 `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 int64 `json:"status" xorm:"'status' bigint comment('OC Status') " ` IsFixed int64 `json:"isFixed" xorm:"'is_fixed' bigint comment('Is Fixed') " ` CreatedBy int64 `json:"createdBy" xorm:"'created_by'"` CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"` UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"` UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"` DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"` DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"` DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"` }