department_adapter.go 507 字节
package adapter

type DepartmentAdapter struct {
	Id          int64                `comment:"部门ID" json:"id"`
	Name        string               `comment:"部门名称" json:"name"`
	CompanyId   int64                `comment:"公司ID" json:"companyId"`
	ParentId    int64                `comment:"父级ID" json:"parentId"`
	Departments []*DepartmentAdapter `comment:"子部门" json:"departments"`
	UserTotal   int                  `comment:"部门用户总数量(包含子部门)" json:"userTotal"`
}