package com.czg.service.order.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author ww
 * @description
 */
@Data
public class VipRefundDTO implements Serializable {
    /**
     * 店铺id
     */
    @NotNull(message = "店铺不能为空")
    private Long shopId;
    /**
     * 店铺用户id
     */
    @NotNull(message = "用户不能为空")
    private Long userId;
    /**
     * 退款id 会员流水id tb_shop_user_flow.id
     */
    @NotNull(message = "会员流水不能为空")
    private Long flowId;
    /**
     * 退款金额
     */
    private BigDecimal refAmount;

    /**
     * 退款原因
     */
    private String remark;
    /**
     * 超额退款
     */
    private boolean outOfRange;
    //现金退款
    private boolean cashRefund;


    private String platformType;
    private String pwd;
}
