xiaoyong931011
2021-05-28 a7b10c7fb28552e71e980d97a6b23c21cbcb212a
src/main/java/com/xcong/excoin/modules/yunding/entity/YdOrderEntity.java
@@ -1,5 +1,6 @@
package com.xcong.excoin.modules.yunding.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.system.base.BaseEntity;
import lombok.Data;
@@ -16,6 +17,12 @@
    private static final long serialVersionUID = 1L;
    /**
     * 会员ID
     */
    private Long memberId;
    /**
     * 产品ID
     */
@@ -26,6 +33,19 @@
     */
    private Integer quantity;
    /**
     * 返利状态 1:待返利 2:已返利
     */
    private Integer returnState;
    public static final int RETURN_STATE_READY = 1;
    public static final int RETURN_STATE_DONE = 2;
    /**
     * 返利类型 1:USDT 2:XCH
     */
    private Integer returnType;
    /**
     * 总金额
@@ -50,6 +70,15 @@
     */
    private Integer state;
    public static final int ORDER_STATE_READY = 1;
    public static final int ORDER_STATE_WORK = 2;
    public static final int ORDER_STATE_END = 3;
    /**
     * 购买日期
     */
    private Date buyTime;
    /**
     * 生效日期
@@ -64,5 +93,12 @@
    private Date endTime;
    @TableField(exist = false)
    private YdProductEntity ydProductEntity;
    private Integer type;
    public static final Integer AGENT_ORDER = 2;
    public static final Integer PRODUCT_ORDER = 1;
}