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; /**N-关联标识(活动规则或者其他)*/ private String commonId; /**N-来源类型-不填默认订单*/ private String orderType = ORDER_TYPE_ORDER; /**订单id*/ private String orderId; /**订单编号*/ private String orderNo; /**子单订单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; /**来源类型-订单(OrdersTotal)*/ public static final String ORDER_TYPE_ORDER = "order"; /**来源类型-同步HIS判断使用*/ public static final String ORDER_TYPE_TOTAL = "total"; /**操作类型-系统处理*/ 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"; /**操作方式-老带新赠送0701*/ public static final String OPERATION_REASON_GIFT_0701 = "bringNewUserGift_0701"; /**操作方式-活动参与*/ public static final String OPERATION_REASON_ACTIVITY_JOIN = "activity_join"; /**操作方式-营销助手积分兑换优惠券*/ public static final String OPERATION_REASON_EXCHANGE_COUPON_USE_INTEGRAL = "exchange_coupon_use_integral"; /**操作方式-消费赠送*/ public static final String OP_CONSUME_GIVE = "consume_give"; }