面包店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 月之前
123456789101112131415161718192021222324252627282930313233
  1. package md
  2. type StaffListReq struct {
  3. Limit int `json:"limit"`
  4. Page int `json:"page" `
  5. Name string `json:"name" label:"姓名"`
  6. Phone string `json:"phone" label:"负责人手机号"`
  7. IdNo string `json:"id_no" label:"身份证号码"`
  8. }
  9. type StaffDeleteReq struct {
  10. Ids []int `json:"ids"`
  11. }
  12. type StaffAddReq struct {
  13. Name string `json:"name"`
  14. Sex int `json:"sex"`
  15. IdNo string `json:"id_no"`
  16. Phone string `json:"phone"`
  17. NativePlace string `json:"native_place"`
  18. Department string `json:"department"`
  19. }
  20. type StaffUpdateReq struct {
  21. Id int `json:"id" binding:"required"`
  22. Name string `json:"name"`
  23. Sex int `json:"sex"`
  24. IdNo string `json:"id_no"`
  25. Phone string `json:"phone"`
  26. NativePlace string `json:"native_place"`
  27. Department string `json:"department"`
  28. CreateAt string `json:"create_at"`
  29. }