package com.ylx.order.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@Data
@ApiModel("商户操作订单通用入参")
public class MerchantOrderOperateDTO {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty("订单主键ID")
    private Long orderId;

    @ApiModelProperty("商户手机号")
    private String phone;

    @ApiModelProperty("短信验证码")
    private String code;

    @ApiModelProperty("图片URL列表，最多9张")
    @Size(max = 9, message = "最多只能上传9张图片")
    private List<String> imageUrls;

}
