12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- package http_model
- import (
- "time"
- "youngee_b_api/model/gorm_model"
- )
- type ProjectTalentListRequest struct {
- PageSize int64 `json:"page_size"`
- PageNum int64 `json:"page_num"`
- ProjectId string `json:"project_id"` // 项目ID
- TaskId string `json:"task_id"` // 任务ID
- StrategyId string `json:"strategy_id"` // 策略ID
- TaskStatus string `json:"task_status"` // 任务状态
- PlatformNickname string `json:"platform_nickname"` // 账号昵称
- }
- type ProjectTalentPreview struct {
- TaskID string `json:"task_id"` // 任务ID
- PlatformNickname string `json:"platform_nickname"` // 账号昵称
- FansCount string `json:"fans_count"` // 粉丝数
- StrategyID string `json:"strategy_id"` // 报名选择的招募策略id
- DetailAddr string `json:"detail_addr"` // 物流信息
- CompanyName string `json:"company_name"` // 物流公司
- LogisticsNumber string `json:"logistics_number"` // 物流单号
- DeliveryTime string `json:"delivery_time"` // 发货时间
- ExplorestorePeriod string `json:"explorestore_period"` // 线下探店-探店持续时间
- }
- type ProjectTalentInfo struct {
- TaskID int `json:"task_id"` // 任务ID
- PlatformNickname string `json:"platform_nickname"` // 账号昵称
- FansCount string `json:"fans_count"` // 粉丝数
- StrategyID int `json:"strategy_id"` // 报名选择的招募策略id
- DetailAddr string `json:"detail_addr"` // 物流信息
- CompanyName string `json:"company_name"` // 物流公司
- LogisticsNumber string `json:"logistics_number"` // 物流单号
- DeliveryTime time.Time `json:"delivery_time"` // 发货时间
- ExplorestorePeriod string `json:"explorestore_period"` // 线下探店-探店持续时间
- }
- type TalentAccount struct {
- Talent gorm_model.YoungeeTaskInfo
- Logistics gorm_model.YoungeeTaskLogistics
- //Account gorm_model.YoungeePlatformAccountInfo
- }
- type ProjectTalentListData struct {
- ProjectTalentPreview []*ProjectTalentPreview `json:"project_talent_pre_view"`
- Total string `json:"total"`
- }
- func NewProjectTalentListRequest() *ProjectTalentListRequest {
- return new(ProjectTalentListRequest)
- }
- func NewProjectTalentListResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(ProjectTaskListData)
- return resp
- }
|