From 42f05d2b835ed1ee41ca32cf76fe11849a890cb4 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 06 五月 2021 14:26:03 +0800
Subject: [PATCH] 金币完善

---
 facade-goldcorn/src/main/java/com/ks/goldcorn/pojo/DO/GoldCornGetSource.java |   87 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 86 insertions(+), 1 deletions(-)

diff --git a/facade-goldcorn/src/main/java/com/ks/goldcorn/pojo/DO/GoldCornGetSource.java b/facade-goldcorn/src/main/java/com/ks/goldcorn/pojo/DO/GoldCornGetSource.java
index 28e81d4..7049ad5 100644
--- a/facade-goldcorn/src/main/java/com/ks/goldcorn/pojo/DO/GoldCornGetSource.java
+++ b/facade-goldcorn/src/main/java/com/ks/goldcorn/pojo/DO/GoldCornGetSource.java
@@ -1,32 +1,101 @@
 package com.ks.goldcorn.pojo.DO;
 
 import com.google.gson.Gson;
+import org.springframework.data.annotation.Id;
 import org.springframework.data.annotation.Transient;
+import org.yeshi.utils.generater.mybatis.Column;
 
+import java.io.Serializable;
 import java.util.Date;
 
-public class GoldCornGetSource {
+public class GoldCornGetSource implements Serializable {
+
+    //灞曠ず
+    public final static int STATE_NORMAL = 1;
+    //涓嶅睍绀�
+    public final static int STATE_NOT_SHOW = 2;
+    //绂佺敤
+    public final static int STATE_FORBIDDEN = 3;
+
+
+    @Id
     private Long id;
 
+    @Column(name = "app_id")
     private Long appId;
 
+    @Column(name = "source_name")
     private String sourceName;
 
+    @Column(name = "source_code")
     private String sourceCode;
 
+    private String icon;
+
+    @Column(name = "source_desc")
     private String sourceDesc;
 
+    @Column(name = "gold_corn")
     private Integer goldCorn;
+
+    /**
+     * 姣忔棩鏈�澶ф鏁�
+     */
+    @Column(name = "max_day_count")
+    private Integer maxDayCount;
+
+    /**
+     * 鏈�灏忛棿闅旀椂闂达紙鍗曚綅锛氱锛�
+     */
+    @Column(name = "min_time_span")
+    private Integer minTimeSpan;
+
+    /**
+     * 鏉冮噸
+     */
+    private Integer weight;
+
+    /**
+     * 鐘舵��
+     */
+    private Integer state;
 
     private String remarks;
 
+    @Column(name = "create_time")
     private Date createTime;
 
+    @Column(name = "update_time")
     private Date updateTime;
 
     @Transient
     private GoldCornAppInfo app;
 
+
+    public Integer getMaxDayCount() {
+        return maxDayCount;
+    }
+
+    public void setMaxDayCount(Integer maxDayCount) {
+        this.maxDayCount = maxDayCount;
+    }
+
+
+    public Integer getMinTimeSpan() {
+        return minTimeSpan;
+    }
+
+    public void setMinTimeSpan(Integer minTimeSpan) {
+        this.minTimeSpan = minTimeSpan;
+    }
+
+    public String getIcon() {
+        return icon;
+    }
+
+    public void setIcon(String icon) {
+        this.icon = icon;
+    }
 
     public GoldCornAppInfo getApp() {
         return app;
@@ -112,4 +181,20 @@
     public String toString() {
         return new Gson().toJson(this);
     }
+
+    public Integer getWeight() {
+        return weight;
+    }
+
+    public void setWeight(Integer weight) {
+        this.weight = weight;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public void setState(Integer state) {
+        this.state = state;
+    }
 }
\ No newline at end of file

--
Gitblit v1.8.0