group_info.go 2.3 KB

123456789101112131415161718192021222324
  1. package viewmodel
  2. type GroupInfo struct {
  3. OcId int64 `json:"ocId" xorm:"'oc_id' bigint not null pk comment('公司组织ID') " `
  4. GroupId int64 `json:"groupId" xorm:"'group_id' bigint not null pk comment('群组ID') " `
  5. GroupName string `json:"groupName" xorm:"'group_name' varchar(127) not null comment('群组名称') " `
  6. GroupCatId int64 `json:"groupCatId" xorm:"'group_cat_id' bigint not null comment('群组类型ID') " `
  7. GroupCatTitle string `json:"groupCatTitle" xorm:"'group_cat_title' varchar(127) not null comment('群组类型名称') " `
  8. GroupPath string `json:"groupPath" xorm:"'group_path' varchar(255) not null comment('群组PATH') " `
  9. GroupDesc string `json:"groupDesc" xorm:"'group_desc' varchar(255) not null comment('群组DESC') " `
  10. GroupCode string `json:"groupCode" xorm:"'group_code' varchar(127) not null comment('群组CODE') " `
  11. GroupSelect string `json:"groupSelect" xorm:"'group_select' varchar(255) not null comment('群组PATH') " `
  12. RootId int64 `json:"rootId" xorm:"'root_id' bigint not null comment('Order') " `
  13. ParentId int64 `json:"parentId" xorm:"'parent_id' bigint not null comment('父群组ID') " `
  14. ParentName string `json:"parentName" xorm:"'parent_name' varchar(127) not null comment('父群组名称') " `
  15. NodeLeft int64 `json:"nodeLeft" xorm:"'node_left' bigint not null comment('群组LEFT') " `
  16. NodeRight int64 `json:"nodeRight" xorm:"'node_right' bigint not null comment('群组RIGHT') " `
  17. NodeLevel int64 `json:"nodeLevel" xorm:"'node_level' bigint not null comment('群组LEVEL') " `
  18. IsLeaf int64 `json:"isLeaf" xorm:"'is_leaf' bigint not null comment('LEAF群组') " `
  19. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' bigint not null comment('群组STATUS') " `
  20. }