zhangqian
2024-04-19 61bebbdb99d6c1ca95236cc567a9718bc5f5b1eb
controllers/request/worker_request.go
@@ -1,16 +1,28 @@
package request
import "silkserver/constvar"
type GetWorkerList struct {
   PageInfo
   KeyWord string `json:"keyWord"`
   Keyword string `json:"keyword"`
}
type GetWorkTypeList struct {
   PageInfo
   KeyWord string `json:"keyWord"`
   Keyword string `json:"keyword"`
}
type GetSalaryPlanList struct {
   PageInfo
   KeyWord string `json:"keyWord"`
   Keyword string `json:"keyword"`
}
type SalaryType struct {
   Type   constvar.MiniDictType `json:"type"` //字典类型,薪资类型:8
   Values []SalaryTypeValue     `json:"values"`
}
type SalaryTypeValue struct {
   Name      string `json:"name"`      //名称
   IsDefault bool   `json:"isDefault"` //是否可编辑
}