1234567891011121314151617181920212223242526272829303132333435363738 |
- package http_model
- import (
- "time"
- "youngee_b_api/model/gorm_model"
- )
- type ShowTaskProgressData struct {
- TaskId string `json:"task_id"` // 种草子任务ID
- ProjectId string `json:"project_id"` // 种草任务ID
- TalentId string `json:"talent_id"` // 达人ID
- CreateData time.Time `json:"create_data"` // 创建时间,即报名时间
- SelectDate time.Time `json:"select_date"` // 反选时间,即任务开始执行时间
- DeliveryDate time.Time `json:"delivery_date"` // 发货时间
- SignedTime time.Time `json:"signed_time"` // 签收时间
- SketchInfo []*gorm_model.YounggeeSketchInfo `json:"sketch_info"` // 初稿信息
- LinkInfo []*gorm_model.YounggeeLinkInfo `json:"link_info"` // 链接信息
- ServiceCharge float64 `json:"service_charge"` // 服务费
- DraftFee float64 `json:"draft_fee"` // 达人稿费
- TerminateTime time.Time `json:"terminate_time"` // 终止合作时间
- TerminateReason string `json:"terminate_reason"` // 终止合作理由
- CancelTime time.Time `json:"cancel_time"` // 解约时间
- CancelReason string `json:"cancel_reason"` // 解约理由
- }
- type ShowTaskProgressRequest struct {
- TaskId string `json:"task_id"` // 种草子任务ID
- }
- func NewShowTaskProgressRequest() *ShowTaskProgressRequest {
- return new(ShowTaskProgressRequest)
- }
- func NewShowTaskProgressResponse() *CommonResponse {
- resp := new(CommonResponse)
- resp.Data = new(ShowTaskProgressData)
- return resp
- }
|