package com.hz.his.dto.user.money;
|
|
|
import lombok.Data;
|
import lombok.ToString;
|
|
import java.math.BigDecimal;
|
|
/**
|
* 修改用户资金
|
*
|
* @author cjh
|
*/
|
@Data
|
public class UserMoneyUpdateDto {
|
/**Y - 用户Id*/
|
private String userId;
|
/**Y - 资金类型*/
|
private int fundType;
|
|
/**Y - 操作人类型*/
|
private int operatorType;
|
/**Y -操作人Id*/
|
private String operatorId;
|
|
/**Y - 来源平台编码*/
|
private String originChannel;
|
/**来源主题*/
|
private String originSubject;
|
/**Y - 操作方式*/
|
private String operationReason;
|
|
/**Y - 操作金额(单位元/积分)*/
|
public String opNumber;
|
|
/**操作类型 是否需要领取 默认0 只有增值金 添加需要领取*/
|
private int opType;
|
|
/**关联标识(活动规则或者其他)*/
|
private String commonId;
|
|
/**订单id*/
|
private String orderId;
|
/**子单订单id*/
|
private String orderItemId;
|
|
/**备注*/
|
private String remarks;
|
|
/*****************类型信息 注:以下常量以phis的UserMoneyLog常量为主*******************************/
|
|
/**操作人类型-系统*/
|
public static final int OPERATOR_TYPE_SYSTEM = 0;
|
/**操作人类型-管理员*/
|
public static final int OPERATOR_TYPE_ADMIN = 1;
|
/**操作人类型-用户*/
|
public static final int OPERATOR_TYPE_USER = 2;
|
/**操作人类型-员工*/
|
public static final int OPERATOR_TYPE_EMPLOYEE = 3;
|
|
|
/**操作类型-系统处理*/
|
public static final int OP_TYPE_SYS = 0;
|
/**操作类型-用户领取*/
|
public static final int OP_TYPE_USER_RECEIVE = 1;
|
|
/**资金类型-储值金*/
|
public static final int FUND_TYPE_STORAGE = 0;
|
/**资金类型-增值金*/
|
public static final int FUND_TYPE_INCREMENT = 1;
|
/**资金类型-积分*/
|
public static final int FUND_TYPE_INTEGRAL = 2;
|
/**资金类型-预定金*/
|
public static final int FUND_TYPE_DEPOSIT = 3;
|
|
/**操作方式-系统操作*/
|
public static final String OPERATION_REASON_SYS = "systemOperation";
|
/**操作方式-充值操作*/
|
public static final String OPERATION_REASON_RECHARGE= "recharge";
|
/**操作方式-退款操作*/
|
public static final String OPERATION_REASON_REFUND = "refund";
|
/**操作方式-抵扣操作*/
|
public static final String OPERATION_REASON_DEDUCTION = "deduction";
|
/**操作方式-购买操作*/
|
public static final String OPERATION_REASON_BUY = "buy";
|
/**操作方式-转增订单*/
|
public static final String OPERATION_REASON_TURNRECHARGE = "turnRecharge";
|
/**操作方式-转增订单*/
|
public static final String OPERATION_REASON_GIFT = "bringNewUserGift";
|
/**操作方式-协商操作*/
|
public static final String OPERATION_REASON_NEGOTIATION = "negotiation";
|
/**操作方式-退回操作*/
|
public static final String OPERATION_REASON_RETURN = "returnGoods";
|
/**操作方式-换货操作*/
|
public static final String OPERATION_REASON_CHANGE = "changeGoods";
|
/**操作方式-生日赠送*/
|
public static final String OPERATION_REASON_BIRTHDAY_GIFT = "birthdayGift";
|
|
public static final String OPERATION_REASON_GIFT_0701 = "bringNewUserGift_0701";
|
}
|