job_detail.go 653 B

1234567891011121314151617181920212223242526272829
  1. package http_model
  2. import "youngee_m_api/model/gorm_model"
  3. type JobDetailRequest struct {
  4. PageSize int `json:"page_size"`
  5. PageNum int `json:"page_num"`
  6. AccountID int64 `json:"account_id"`
  7. }
  8. type JobDetailResponse struct {
  9. JobInfo gorm_model.YounggeeJob //岗位详情
  10. Creater string `json:"creater"`
  11. }
  12. type JobData struct {
  13. Job []*JobDetailResponse `json:"jobdata"`
  14. Total string `json:"total"`
  15. }
  16. func NewJobDetailRequest() *JobDetailRequest {
  17. return new(JobDetailRequest)
  18. }
  19. func NewJobDetailResponse() *CommonResponse {
  20. resp := new(CommonResponse)
  21. resp.Data = new(JobDetailResponse)
  22. return resp
  23. }