SelectionDetailRequest.go 849 B

1234567891011121314151617181920212223242526
  1. package http_model
  2. import "youngee_m_api/model/gorm_model"
  3. type SelectionDetailRequest struct {
  4. EnterpriseId string `json:"enterprise_id"`
  5. SelectionId string `json:"selection_id"` // 选品id
  6. }
  7. type SelectionDetail struct {
  8. SelectionInfo *gorm_model.YounggeeSelectionInfo // 选品详情
  9. SelectionBrief []*gorm_model.YounggeeSecBrief // 选品brief列表
  10. SelectionExample []*gorm_model.YounggeeSecExample // 选品示例列表
  11. ProductInfo *gorm_model.YounggeeProduct // 商品详情
  12. ProductPhotoInfo []*gorm_model.YounggeeProductPhoto // 商品图片列表
  13. }
  14. func NewSelectionDetailRequest() *SelectionDetailRequest {
  15. return new(SelectionDetailRequest)
  16. }
  17. func NewSelectionDetailResponse() *CommonResponse {
  18. resp := new(CommonResponse)
  19. resp.Data = new(SelectionDetail)
  20. return resp
  21. }