| | |
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory;
|
| | | import com.yeshi.fanli.entity.bus.user.Extract;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_msg_money")
|
| | | public class MsgMoneyDetail {
|
| | | public enum MsgTypeMoneyEnumType {
|
| | | share("分享奖金"), invite("邀请奖金"), fanli("返利到账"), extract("提现"), extractValid("提现账号验证");
|
| | | public enum MsgTypeMoneyTypeEnum {
|
| | | share("分享奖金"), invite("邀请奖金"), fanli("返利到账"), extract("提现"), extractValid("提现账号验证"), shareWeiQuan(
|
| | | "分享奖金扣除"), inviteWeiQuan("邀请奖金扣除"), fanliWeiQuan("返利扣除");
|
| | | private final String desc;
|
| | |
|
| | | private MsgTypeMoneyEnumType(String desc) {
|
| | | private MsgTypeMoneyTypeEnum(String desc) {
|
| | | this.desc = desc;
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | @Column(name = "mm_id")
|
| | | private Long id;
|
| | | @Column(name = "mm_uid")
|
| | | private UserInfo user;
|
| | | private MsgTypeMoneyEnumType msgType;// 消息类型
|
| | | @Column(name = "mm_type")
|
| | | private MsgTypeMoneyTypeEnum msgType;// 消息类型
|
| | | @Column(name = "mm_order_count")
|
| | | private Integer orderCount;// 订单数(奖金适用)
|
| | | @Column(name = "mm_goods_count")
|
| | | private Integer goodsCount;// 商品数
|
| | | @Column(name = "mm_order_id")
|
| | | private String orderId;// 订单号(返利适用)
|
| | | @Column(name = "mm_source_id")
|
| | | private Extract extract;// 提现详情
|
| | | private AlipayAccountValidNormalHistory alipayAccountValid;// 提现账号验证详情
|
| | | @Column(name = "mm_money")
|
| | | private BigDecimal money;// 到账资金
|
| | | @Column(name = "mm_balance")
|
| | | private BigDecimal balance;// 账户余额
|
| | | @Column(name = "mm_state_desc")
|
| | | private String stateDesc;// 状态说明
|
| | | @Column(name = "mm_beizhu")
|
| | | private String beiZhu;// 备注
|
| | | @Column(name = "mm_create_time")
|
| | | private Date createTime;
|
| | | @Column(name = "mm_update_time")
|
| | | private Date updateTime;
|
| | | @Column(name = "mm_read")
|
| | | private Boolean read;
|
| | |
|
| | | public Long getId() {
|
| | |
| | | this.stateDesc = stateDesc;
|
| | | }
|
| | |
|
| | | public MsgTypeMoneyEnumType getMsgType() {
|
| | | public MsgTypeMoneyTypeEnum getMsgType() {
|
| | | return msgType;
|
| | | }
|
| | |
|
| | | public void setMsgType(MsgTypeMoneyEnumType msgType) {
|
| | | public void setMsgType(MsgTypeMoneyTypeEnum msgType) {
|
| | | this.msgType = msgType;
|
| | | }
|
| | |
|