25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package md
-
- type StaffListReq struct {
- Limit int `json:"limit"`
- Page int `json:"page" `
- Name string `json:"name" label:"姓名"`
- Phone string `json:"phone" label:"负责人手机号"`
- IdNo string `json:"id_no" label:"身份证号码"`
- }
-
- type StaffDeleteReq struct {
- Ids []int `json:"ids"`
- }
-
- type StaffAddReq struct {
- Name string `json:"name"`
- Sex int `json:"sex"`
- IdNo string `json:"id_no"`
- Phone string `json:"phone"`
- NativePlace string `json:"native_place"`
- Department string `json:"department"`
- }
-
- type StaffUpdateReq struct {
- Id int `json:"id" binding:"required"`
- Name string `json:"name"`
- Sex int `json:"sex"`
- IdNo string `json:"id_no"`
- Phone string `json:"phone"`
- NativePlace string `json:"native_place"`
- Department string `json:"department"`
- CreateAt string `json:"create_at"`
- }
|