package com.yami.shop.wx.po;

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

import javax.validation.constraints.NotNull;

/**
 * @author kaur
 */
@Data
@ApiModel(value = "小程序退款")
@AllArgsConstructor
@NoArgsConstructor
public class RefundInfoPo {

    @ApiModelProperty(value = "订单结算表pay_no支付单号")
    @NotNull(message = "订单号不能为空...")
    private String outTradeNo;

    @ApiModelProperty(value = "总金额(分)")
    @NotNull(message = "总金额不能为空...")
    private Integer total;

    @ApiModelProperty(value = "退款金额(分)")
    @NotNull(message = "退款金额不能为空...")
    private Integer refundMoney;
}
