| package com.matrix.system.shopXcx.bean; | 
|   | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
| import com.matrix.core.pojo.EntityDTO; | 
| import com.matrix.core.anotations.Extend; | 
|   | 
| import java.util.Date; | 
| import java.util.List; | 
|   | 
| /** | 
|  * @description 活动主表 | 
|  * @author wzy | 
|  * @date 2020-03-21 15:26 | 
|  */ | 
| public class ShopActivities extends EntityDTO { | 
|     @Extend | 
|     private static final long serialVersionUID = 1L; | 
|   | 
|     /** | 
|      * 活动类型 团购 | 
|      */ | 
|     public static final int ACTIVITIES_TYPE_GROUP = 1; | 
|   | 
|     /** | 
|      * 活动类型 秒杀 | 
|      */ | 
|     public static final int ACTIVITIES_TYPE_SECKILL = 2; | 
|   | 
|     /** | 
|      * 活动类型 沙龙 | 
|      */ | 
|     public static final int ACTIVITIES_TYPE_SALON = 3; | 
|     /** | 
|      * 活动类型 签到 | 
|      */ | 
|     public static final int ACTIVITIES_TYPE_SIGN = 4; | 
|   | 
|     /** | 
|      * 活动状态 开启 | 
|      */ | 
|     public static final int ACTIVITIES_STATUS_OPEN = 1; | 
|   | 
|     /** | 
|      * 活动状态 关闭 | 
|      */ | 
|     public static final int ACTIVITIES_STATUS_CLOSE = 2; | 
|     /** | 
|      * 主键 | 
|      */ | 
|     private Long  id; | 
|              | 
|      | 
|     /** | 
|      * 活动名称 | 
|      */ | 
|     private String  actName; | 
|     /** | 
|      * 活动编码 | 
|      */ | 
|     private String  actCode; | 
|              | 
|      | 
|     /** | 
|      * 活动类型 | 
|      */ | 
|     private Integer  actType; | 
|              | 
|      | 
|     /** | 
|      * 开始时间 | 
|      */ | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8") | 
|     private Date actBeginTime; | 
|              | 
|      | 
|     /** | 
|      * 结束时间 | 
|      */ | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8") | 
|     private Date  actEndTime; | 
|              | 
|   | 
|     /** | 
|      * 活动状态 | 
|      */ | 
|     private Integer  actStatus; | 
|   | 
|     //未发布 | 
|     public static final int ACTSTATUS_STATUS_RELEASE = 2; | 
|     //未开始 | 
|     public static final int ACTSTATUS_STATUS_READY = 2; | 
|     //进行中 | 
|     public static final int ACTSTATUS_STATUS_ING = 3; | 
|     //已结束 | 
|     public static final int ACTSTATUS_STATUS_END = 4; | 
|     //已删除 | 
|     public static final int ACTSTATUS_STATUS_DEL = 5; | 
|              | 
|      | 
|     /** | 
|      * 参与店铺 | 
|      */ | 
|     private String  shopIds; | 
|              | 
|      | 
|     /** | 
|      * 活动说明 | 
|      */ | 
|     private String  actRemark; | 
|              | 
|      | 
|     /** | 
|      * 最大参与数 | 
|      */ | 
|     private Integer  actMax; | 
|   | 
|     private String actImg; | 
|   | 
|     private String actContent; | 
|   | 
|     private String beginTime; | 
|   | 
|     private String endTime; | 
|   | 
|     private Long remainTime; | 
|   | 
|     private int isStart; | 
|   | 
|     @JsonFormat(pattern = "MM月dd日 HH:mm", timezone="GMT+8") | 
|     private Date title; | 
|   | 
|   | 
|     private ShopActivitiesGroupInfo groupInfo; | 
|              | 
|     private List<ShopActivitiesSalonDistribute> attributes; | 
|   | 
|   | 
|     private ShopActivitiesSalonRecord salonRecord; | 
|   | 
|     private Long companyId; | 
|     public Long getCompanyId() { | 
|         return companyId; | 
|     } | 
|   | 
|     public void setCompanyId(Long companyId) { | 
|         this.companyId = companyId; | 
|     } | 
|   | 
|     public Long getId() { | 
|         return id; | 
|     } | 
|         | 
|        public void setId(Long id) { | 
|         this.id=id; | 
|     } | 
|         | 
|   | 
|     public String getActName() { | 
|         return actName; | 
|     } | 
|         | 
|        public void setActName(String actName) { | 
|         this.actName=actName; | 
|     } | 
|         | 
|   | 
|     public Integer getActType() { | 
|         return actType; | 
|     } | 
|         | 
|        public void setActType(Integer actType) { | 
|         this.actType=actType; | 
|     } | 
|         | 
|   | 
|     public Date getActBeginTime() { | 
|         return actBeginTime; | 
|     } | 
|         | 
|        public void setActBeginTime(Date actBeginTime) { | 
|         this.actBeginTime=actBeginTime; | 
|     } | 
|         | 
|   | 
|     public Date getActEndTime() { | 
|         return actEndTime; | 
|     } | 
|         | 
|        public void setActEndTime(Date actEndTime) { | 
|         this.actEndTime=actEndTime; | 
|     } | 
|   | 
|     public Integer getActStatus() { | 
|         return actStatus; | 
|     } | 
|         | 
|        public void setActStatus(Integer actStatus) { | 
|         this.actStatus=actStatus; | 
|     } | 
|         | 
|   | 
|     public String getShopIds() { | 
|         return shopIds; | 
|     } | 
|         | 
|        public void setShopIds(String shopIds) { | 
|         this.shopIds=shopIds; | 
|     } | 
|         | 
|   | 
|     public String getActRemark() { | 
|         return actRemark; | 
|     } | 
|         | 
|        public void setActRemark(String actRemark) { | 
|         this.actRemark=actRemark; | 
|     } | 
|         | 
|   | 
|     public Integer getActMax() { | 
|         return actMax; | 
|     } | 
|         | 
|        public void setActMax(Integer actMax) { | 
|         this.actMax=actMax; | 
|     } | 
|   | 
|     public ShopActivitiesGroupInfo getGroupInfo() { | 
|         return groupInfo; | 
|     } | 
|   | 
|     public void setGroupInfo(ShopActivitiesGroupInfo groupInfo) { | 
|         this.groupInfo = groupInfo; | 
|     } | 
|   | 
|     public String getBeginTime() { | 
|         return beginTime; | 
|     } | 
|   | 
|     public void setBeginTime(String beginTime) { | 
|         this.beginTime = beginTime; | 
|     } | 
|   | 
|     public String getEndTime() { | 
|         return endTime; | 
|     } | 
|   | 
|     public void setEndTime(String endTime) { | 
|         this.endTime = endTime; | 
|     } | 
|   | 
|     public Long getRemainTime() { | 
|         return remainTime; | 
|     } | 
|   | 
|     public void setRemainTime(Long remainTime) { | 
|         this.remainTime = remainTime; | 
|     } | 
|   | 
|     public int getIsStart() { | 
|         return isStart; | 
|     } | 
|   | 
|     public void setIsStart(int isStart) { | 
|         this.isStart = isStart; | 
|     } | 
|   | 
|     public Date getTitle() { | 
|         return title; | 
|     } | 
|   | 
|     public void setTitle(Date title) { | 
|         this.title = title; | 
|     } | 
|   | 
|     public String getActImg() { | 
|         return actImg; | 
|     } | 
|   | 
|     public void setActImg(String actImg) { | 
|         this.actImg = actImg; | 
|     } | 
|   | 
|     public String getActContent() { | 
|         return actContent; | 
|     } | 
|   | 
|     public void setActContent(String actContent) { | 
|         this.actContent = actContent; | 
|     } | 
|   | 
|     public List<ShopActivitiesSalonDistribute> getAttributes() { | 
|         return attributes; | 
|     } | 
|   | 
|     public void setAttributes(List<ShopActivitiesSalonDistribute> attributes) { | 
|         this.attributes = attributes; | 
|     } | 
|   | 
|     public ShopActivitiesSalonRecord getSalonRecord() { | 
|         return salonRecord; | 
|     } | 
|   | 
|     public void setSalonRecord(ShopActivitiesSalonRecord salonRecord) { | 
|         this.salonRecord = salonRecord; | 
|     } | 
|   | 
|     public String getActCode() { | 
|         return actCode; | 
|     } | 
|   | 
|     public void setActCode(String actCode) { | 
|         this.actCode = actCode; | 
|     } | 
| } |