sys_department.go 736 B

1234567891011121314151617181920212223
  1. package request
  2. type SysDepartmentAddReq struct {
  3. SysDepartmentId int `description:"部门id"`
  4. SysDepartmentNames []string `description:"部门名称"`
  5. Level int `description:"目录等级"`
  6. }
  7. type SysDepartmentEditReq struct {
  8. SysDepartmentId int `description:"部门ID"`
  9. SysDepartmentName string `description:"部门名称"`
  10. }
  11. type SysDepartmentDeleteReq struct {
  12. SysDepartmentId int `description:"部门ID"`
  13. Level int `description:"目录层级"`
  14. }
  15. type SysDepartmentSortReq struct {
  16. DepartmentIds1 []int `description:"移动后的一级ID排序"`
  17. DepartmentIds2 []int `description:"移动后的二级ID排序"`
  18. DepartmentIds3 []int `description:"移动后的三级ID排序"`
  19. }