package com.ylx.massage.domain.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "售后添加请求")
public class AfterSaleOrderDTO {

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID", required = true)
    private Long orderId;

    @NotBlank(message = "订单编号不能为空")
    @ApiModelProperty(value = "订单编号", required = true)
    private String orderNo;

    @NotNull(message = "申请原因不能为空")
    @ApiModelProperty(value = "申请原因", required = true)
    private String applyReason;

    @ApiModelProperty(value = "售后类型 (1退货 2换货 3未收到货)")
    private Integer afterSaleType;

    @ApiModelProperty(value = "问题描述")
    private String applyDesc;

    @ApiModelProperty(value = "凭证图片URL，多个逗号分隔")
    private String applyImages;

}
