houyaf 3 jaren geleden
bovenliggende
commit
dc7710d977
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      datamodels/group.go

+ 3 - 3
datamodels/group.go

@@ -5,7 +5,7 @@ import "time"
 // Group Account Data Model
 type Group struct {
 	OcId             int64     `json:"ocId"            xorm:"'oc_id'               bigint not null pk     comment('公司组织ID')  " `
-	GroupId          int64     `json:"groupId"         xorm:"'group_id'            bigint not null pk     comment('群组ID')      " `
+	GroupId          int64     `json:"groupId"         xorm:"'group_id'            bigint not null pk     comment('群组ID')     " `
 	GroupName        string    `json:"groupName"       xorm:"'group_name'          varchar(127) not null  comment('群组名称')    " `
 	GroupCatId       int64     `json:"groupCatId"      xorm:"'group_cat_id'        bigint not null        comment('群组类型ID')  " `
 	
@@ -14,8 +14,8 @@ type Group struct {
 	GroupCode        string    `json:"groupCode"       xorm:"'group_code'          varchar(127) not null  comment('群组CODE')    " `
 	GroupSelect      string    `json:"groupSelect"     xorm:"'group_select'        varchar(255) not null  comment('群组PATH')    " `
 	
-	RootId           int64     `json:"rootId"          xorm:"'root_id'             bigint not null        comment('Order')       " `
-	ParentId         int64     `json:"parentId"        xorm:"'parent_id'           bigint not null        comment('父群组ID')      " `
+	RootId           int64     `json:"rootId"          xorm:"'root_id'             bigint not null        comment('Order')      " `
+	ParentId         int64     `json:"parentId"        xorm:"'parent_id'           bigint not null        comment('父群组ID')    " `
 	NodeLeft         int64     `json:"nodeLeft"        xorm:"'node_left'           bigint not null        comment('群组LEFT')    " `
 	NodeRight        int64     `json:"nodeRight"       xorm:"'node_right'          bigint not null        comment('群组RIGHT')   " `
 	NodeLevel        int64     `json:"nodeLevel"       xorm:"'node_level'          bigint not null        comment('群组LEVEL')   " `