find_all_job.go 640 B

123456789101112131415161718192021222324252627
  1. package http_model
  2. import "youngee_b_api/model/gorm_model"
  3. type FindAllJobRequest struct {
  4. PageNum int32 `json:"page"`
  5. PageSize int32 `json:"page_size"`
  6. SupplierId int `json:"supplier_id"` // 子账号属于的服务商id
  7. }
  8. type FindAllJobInfo struct {
  9. }
  10. type FindAllJobData struct {
  11. JobInfo []*gorm_model.YounggeeJob `json:"job_info"` // 岗位信息
  12. Total int64 `json:"total"` // 总数
  13. }
  14. func NewFindAllJobRequest() *FindAllJobRequest {
  15. return new(FindAllJobRequest)
  16. }
  17. func NewFindAllJobResponse() *CommonResponse {
  18. resp := new(CommonResponse)
  19. resp.Data = new(FindAllJobData)
  20. return resp
  21. }