organization

This commit is contained in:
wangchuxiao
2022-05-12 19:00:48 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent 143c0e022c
commit a5455feff4
11 changed files with 347 additions and 1783 deletions
+1
View File
@@ -232,6 +232,7 @@ type Department struct {
ParentID string `gorm:"column:parent_id;size:64" json:"parentID" binding:"required"` // "0" or Real parent id
Order int32 `gorm:"column:order" json:"order" ` // 1, 2, ...
DepartmentType int32 `gorm:"column:department_type" json:"departmentType"` //1, 2...
RelatedGroupID string `gorm:"column:related_group_id;size:64" json:"relatedGroupID"`
CreateTime time.Time `gorm:"column:create_time" json:"createTime"`
Ex string `gorm:"column:ex;type:varchar(1024)" json:"ex"`
}