dept.go 790 B

1234567891011121314151617181920
  1. package request
  2. import "dy-admin/internal/pcmserver/common"
  3. type UpdateDeptReq struct {
  4. DeptId int `uri:"id" comment:"编码"` // 编码
  5. ParentId int `json:"parentId" comment:"上级部门" ` //上级部门
  6. DeptPath string `json:"deptPath" comment:""` //路径
  7. DeptName string `json:"deptName" comment:"部门名称"` //部门名称
  8. Sort int `json:"sort" comment:"排序"` //排序
  9. Leader string `json:"leader" comment:"负责人"` //负责人
  10. Phone string `json:"phone" comment:"手机"` //手机
  11. Email string `json:"email" comment:"邮箱"` //邮箱
  12. Status int `json:"status" comment:"状态"` //状态
  13. common.ControlBy
  14. }
  15. type SearchDeptReq struct {
  16. DeptName string `json:"deptName" form:"deptName"`
  17. }