find_all_job.go 573 B

12345678910111213141516171819202122232425
  1. package http_model
  2. import "youngee_b_api/model/gorm_model"
  3. type FindAllJobRequest struct {
  4. EnterpriseId string `json:"enterprise_id"` // 子账号属于的企业id
  5. }
  6. type FindAllJobInfo struct {
  7. }
  8. type FindAllJobData struct {
  9. JobInfo []*gorm_model.YounggeeJob `json:"job_info"` // 岗位信息
  10. Total int64 `json:"total"` // 总数
  11. }
  12. func NewFindAllJobRequest() *FindAllJobRequest {
  13. return new(FindAllJobRequest)
  14. }
  15. func NewFindAllJobResponse() *CommonResponse {
  16. resp := new(CommonResponse)
  17. resp.Data = new(FindAllJobData)
  18. return resp
  19. }