liujiandao
2024-04-19 f4a3813202da0450f3444bef6cbb141141302680
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"` //是否可编辑
}