package com.yuchen.saas.payment.api.vo;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author: 宋少挺
 * @description:
 */
@Data
public class CreateRefundVo implements Serializable {

    /**
     * 支付平台用户ID
     */
    @ApiModelProperty(value = "支付平台用户ID")
    @NotBlank(message = "支付平台用户ID不能为空")
    private String payUserId;
    /**
     * 订单id
     */
    @ApiModelProperty( value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long payId;

    /**
     * 退款原因
     */
    @ApiModelProperty( value = "退款原因")
    @NotBlank(message = "退款原因必须填写")
    private String refundReason;
}
