| | |
| | | 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;
|
| | |
| | | private String picture;
|
| | |
|
| | | // 推送用户id 使用于单推
|
| | | // @Column(name = "pg_uid")
|
| | | @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")
|
| | |
| | | @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(){}
|
| | |
|
| | |
| | | this.content = content;
|
| | | }
|
| | |
|
| | | public boolean isPush() {
|
| | | public Integer getIsPush() {
|
| | | return isPush;
|
| | | }
|
| | |
|
| | | public void setPush(boolean isPush) {
|
| | | public void setIsPush(Integer isPush) {
|
| | | this.isPush = isPush;
|
| | | }
|
| | |
|
| | |
| | | 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;
|
| | | }
|
| | |
|
| | | }
|