project_talentlist_conditions.go 547 B

123456789101112131415161718
  1. package pack
  2. import (
  3. "youngee_b_api/model/common_model"
  4. "youngee_b_api/model/http_model"
  5. "github.com/issue9/conv"
  6. )
  7. func HttpProjectTalentRequestToCondition(req *http_model.ProjectTalentListRequest) *common_model.TalentConditions {
  8. return &common_model.TalentConditions{
  9. ProjectId: conv.MustInt64(req.ProjectId),
  10. LogisticsStatus: conv.MustInt64(req.TaskStatus),
  11. StrategyId: conv.MustInt64(req.StrategyId),
  12. TaskId: conv.MustString(req.TaskId),
  13. PlatformNickname: conv.MustString(req.PlatformNickname),
  14. }
  15. }