package com.yc.ship.module.trade.api.dto.ota;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 抖音日历票-同步产品(抖音来客版本) 请求类
 * @author le'yang
 */
@Schema(description = " 抖音日历票-同步产品(抖音来客版本) 请求类")
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class TiktokCalendarReqDTO {

    @Schema(description = "方法名")
    @NotBlank(message = "方法名不能为空")
    private String methodName;

    @Schema(description = "分销商Id")
    @NotNull(message = "分销商Id不能为空")
    private Long distributorId;

    @Schema(description = "产品ID")
    @NotNull(message = "产品IDd不能为空")
    private Long productId;

    @Schema(description = "分销商商家ID")
    private String externalAccountId;

    @Schema(description = "分销商票种ID")
    private String externalTicketTypeId;

    @Schema(description = "分销商门店ID")
    private String externalPoiIds;

    @Schema(description = "分销商商品ID")
    private String externalProductId;

    @Schema(description = "分销商商品类目ID")
    private String externalCategoryId;

    @Schema(description = "操作类型1-上线 2-下线")
    private Integer opType;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "规格集合")
    private List<SpecificationsDTO> specificationsList;

}
