From e1a62ec62e7331d97af9302e90e1ce44af8235eb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 27 一月 2021 15:26:55 +0800 Subject: [PATCH] 拼多多授权绑定 --- fanli/src/main/java/com/yeshi/fanli/entity/push/PushGoods.java | 63 +++++++++++++++++++++++++------ 1 files changed, 51 insertions(+), 12 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/push/PushGoods.java b/fanli/src/main/java/com/yeshi/fanli/entity/push/PushGoods.java index 249e895..51f0040 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/push/PushGoods.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/push/PushGoods.java @@ -3,6 +3,7 @@ import java.util.Date; import java.util.List; +import com.yeshi.fanli.entity.SystemEnum; import org.yeshi.utils.mybatis.Column; import org.yeshi.utils.mybatis.Table; @@ -13,7 +14,11 @@ public final static int STATE_INIT = 0; public final static int STATE_SUCCESS = 1; public final static int STATE_FAIL = 2; - + + public final static int TYPE_GOODS = 1; + public final static int TYPE_ACTIVITY = 2; + + @Column(name = "pg_id") private Long id; @@ -65,9 +70,28 @@ @Column(name = "pg_updatetime") private Date updateTime; + + // 绫诲瀷 + @Column(name = "pg_type") + private Integer type; + // 鍏朵粬鍙傛暟 + @Column(name = "pg_other_id") + private String otherId; + // 娴忚娆℃暟 + @Column(name = "pg_scan_num") + private Integer scanNum; + //绯荤粺 + @Column(name = "pg_system") + private SystemEnum system; - // 鏄惁瀹氭椂 - private Boolean timeTask; + public SystemEnum getSystem() { + return system; + } + + public void setSystem(SystemEnum system) { + this.system = system; + } + // 瀹氭椂鏃堕棿 private String controlTime_str; @@ -83,8 +107,6 @@ public PushGoods(Long id){ this.id = id; } - - public Long getId() { return id; @@ -214,13 +236,6 @@ this.controlTime = controlTime; } - public Boolean isTimeTask() { - return timeTask; - } - - public void setTimeTask(Boolean timeTask) { - this.timeTask = timeTask; - } public String getControlTime_str() { return controlTime_str; @@ -237,5 +252,29 @@ public void setRemark(String remark) { this.remark = remark; } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public Integer getScanNum() { + return scanNum; + } + + public void setScanNum(Integer scanNum) { + this.scanNum = scanNum; + } + + public String getOtherId() { + return otherId; + } + + public void setOtherId(String otherId) { + this.otherId = otherId; + } } -- Gitblit v1.8.0