package com.yc.ship.module.trade.controller.app.ota.vo;


import com.yc.ship.module.trade.api.dto.TradeBindVisitorReqDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;


/**
 * @author qsl
 */
@Schema(description = "ota内部游客补录请求vo")
@Data
@Accessors(chain = true)
public class OtaInnerBindVisitorVO {

    @Schema(description = "分销商订单ID", example = "")
    @NotBlank(message = "分销商订单ID不能为空")
    private String otaOrderId;

    @Schema(description = "供应商订单ID", example = "")
    @NotBlank(message = "供应商订单ID不能为空")
    private String supplierOrderNo;

    @Schema(description = "补录项", example = "")
    @NotEmpty(message = "补录项不能为空")
    @Valid
    private List<TradeBindVisitorReqDTO.BindItem> bindItemList;

}

