company_seller.go 1.1 KB

123456789101112131415161718192021
  1. package company
  2. type DepartmentGroupSellersResp struct {
  3. List []DepartmentGroupSellers
  4. }
  5. type DepartmentGroupSellers struct {
  6. AdminId string `description:"系统用户id"`
  7. RealName string `description:"用户真实名称"`
  8. ChildrenList []DepartmentGroupSellers `gorm:"-" description:"销售列表"`
  9. RoleTypeCode string `description:"角色编码"`
  10. Authority int `description:"管理权限,0:无,1:部门负责人,2:小组负责人,或者ficc销售主管,4:ficc销售组长"`
  11. }
  12. type DepartmentGroupAdmins struct {
  13. AdminId string `description:"系统用户id"`
  14. RealName string `description:"用户真实名称"`
  15. ChildrenList []*DepartmentGroupAdmins `gorm:"-" description:"角色列表"`
  16. RoleTypeCode string `description:"角色编码"`
  17. Authority int `description:"管理权限,0:无,1:部门负责人,2:小组负责人,或者ficc销售主管,4:ficc销售组长"`
  18. }