package com.hz.crm.dto;
|
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
|
|
/**
|
* 用在封住或者事务层调用返回(退款返回dto)
|
* @author cjh
|
* */
|
@Data
|
public class OrderServiceDto {
|
/**是否成功*/
|
private boolean isSuccess = false;
|
/**返回报错/返回提示信息*/
|
private String errMsg;
|
|
/**退款退款状态*/
|
public int refundStatus;
|
|
/***程序已退款数据,退掉的加进去***/
|
/***已退款总金额***/
|
private BigDecimal refundTotal = BigDecimal.ZERO;
|
/**已退款现金***/
|
private BigDecimal refundAmountTotal = BigDecimal.ZERO;
|
/**已退款储值金*/
|
private BigDecimal refundRecharge = BigDecimal.ZERO;
|
/**已退款增值金*/
|
private BigDecimal refundIncrement = BigDecimal.ZERO;
|
/**已退款积分*/
|
private BigDecimal refundIntegral = BigDecimal.ZERO;
|
|
|
|
/************************************/
|
/**最快状态-失败*/
|
public static final int REFUND_STATUS_FAIL = 1;
|
/**最快状态-部分退款*/
|
public static final int REFUND_STATUS_PART = 2;
|
/**最快状态-成功*/
|
public static final int REFUND_STATUS_SUECCESS = 3;
|
|
}
|