company_seller.go 1.1 KB

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