package com.softwarebr.nunu.json.api.order;

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

import javax.persistence.Column;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 退款
 * @author lilin
 * @date 2020-03-13 10:16:00
 */
@Data
@ApiModel
public class RefundInfoParam {

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

    @ApiModelProperty(value = "退款原因", required = true, example = "")
    @NotEmpty(message = "退款原因不能为空")
    private String reason;

    @ApiModelProperty(value = "凭证图片", required = true, example = "")
    private String voucherPicture;


}
