From a7b10c7fb28552e71e980d97a6b23c21cbcb212a Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 28 May 2021 14:37:47 +0800 Subject: [PATCH] 20210528 --- src/main/java/com/xcong/excoin/modules/yunding/entity/YdOrderEntity.java | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/yunding/entity/YdOrderEntity.java b/src/main/java/com/xcong/excoin/modules/yunding/entity/YdOrderEntity.java index ab1eda4..d7b7a3f 100644 --- a/src/main/java/com/xcong/excoin/modules/yunding/entity/YdOrderEntity.java +++ b/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; + } -- Gitblit v1.9.1