From 207dc8655711cddac2653e18b51e58a88dba2084 Mon Sep 17 00:00:00 2001 From: yj <Administrator@192> Date: 星期五, 06 三月 2020 18:14:36 +0800 Subject: [PATCH] 发圈处理 --- fanli/src/main/java/com/yeshi/fanli/entity/push/PushGoods.java | 104 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 92 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 8981c47..249e895 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 @@ -1,12 +1,18 @@ package com.yeshi.fanli.entity.push; import java.util.Date; +import java.util.List; import org.yeshi.utils.mybatis.Column; import org.yeshi.utils.mybatis.Table; @Table("yeshi_ec_push_goods") public class PushGoods { + + // 鎺ㄩ�佺姸鎬侊細 0鏈帹閫� 1鎺ㄩ�佹垚鍔� 2鎺ㄩ�佸け璐� + public final static int STATE_INIT = 0; + public final static int STATE_SUCCESS = 1; + public final static int STATE_FAIL = 2; @Column(name = "pg_id") private Long id; @@ -35,9 +41,20 @@ @Column(name = "pg_uid") private Long uid; + @Column(name = "pg_versions") + private String versions; + + // 棰勮鎺ㄩ�佹椂闂� + @Column(name = "pg_control_time") + private Date controlTime; + + // 澶囨敞 + @Column(name = "pg_remark") + private String remark; + // 鏄惁宸叉帹閫� @Column(name = "pg_is_push") - private boolean isPush; + private Integer isPush; // 鎺ㄩ�佹椂闂� @Column(name = "pg_push_time") @@ -49,10 +66,17 @@ @Column(name = "pg_updatetime") private Date updateTime; + // 鏄惁瀹氭椂 + private Boolean timeTask; + // 瀹氭椂鏃堕棿 + private String controlTime_str; // 缁熻鍟嗗搧鏁伴噺 private Long countGoods; - + // ios鎺ㄩ�佺増鏈� + private List<String> listIOS; + // Android鎺ㄩ�佺増鏈� + private List<String> listAndroid; public PushGoods(){} @@ -102,11 +126,11 @@ this.content = content; } - public boolean isPush() { + public Integer getIsPush() { return isPush; } - public void setPush(boolean isPush) { + public void setIsPush(Integer isPush) { this.isPush = isPush; } @@ -134,14 +158,6 @@ this.updateTime = updateTime; } - public Long getUid() { - return uid; - } - - public void setUid(Long uid) { - this.uid = uid; - } - public Long getCountGoods() { return countGoods; } @@ -157,5 +173,69 @@ public void setPicture(String picture) { this.picture = picture; } + + public String getVersions() { + return versions; + } + + public void setVersions(String versions) { + this.versions = versions; + } + + public Long getUid() { + return uid; + } + + public void setUid(Long uid) { + this.uid = uid; + } + + public List<String> getListIOS() { + return listIOS; + } + + public void setListIOS(List<String> listIOS) { + this.listIOS = listIOS; + } + + public List<String> getListAndroid() { + return listAndroid; + } + + public void setListAndroid(List<String> listAndroid) { + this.listAndroid = listAndroid; + } + + public Date getControlTime() { + return controlTime; + } + + public void setControlTime(Date controlTime) { + this.controlTime = controlTime; + } + + public Boolean isTimeTask() { + return timeTask; + } + + public void setTimeTask(Boolean timeTask) { + this.timeTask = timeTask; + } + + public String getControlTime_str() { + return controlTime_str; + } + + public void setControlTime_str(String controlTime_str) { + this.controlTime_str = controlTime_str; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } } -- Gitblit v1.8.0