|
@@ -0,0 +1,73 @@
|
|
|
+package com.iamberry.wechat.core.entity.activity;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 活动内容
|
|
|
+ * @author Administrator
|
|
|
+ */
|
|
|
+public class ActivityDate implements Serializable{
|
|
|
+ private static final long serialVersionUID = 3561654088741780034L;
|
|
|
+ //开始时间
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
+ @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
+ private Date beginDate;
|
|
|
+ //结束时间
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
+ @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
|
|
+ private Date endDate;
|
|
|
+ //类型: 1:满减
|
|
|
+ private Integer type;
|
|
|
+ //状态:true
|
|
|
+ private boolean status;
|
|
|
+ //说明
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+
|
|
|
+ public Date getBeginDate() {
|
|
|
+ return beginDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBeginDate(Date beginDate) {
|
|
|
+ this.beginDate = beginDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getEndDate() {
|
|
|
+ return endDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEndDate(Date endDate) {
|
|
|
+ this.endDate = endDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setType(Integer type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public boolean isStatus() {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatus(boolean status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRemark() {
|
|
|
+ return remark;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRemark(String remark) {
|
|
|
+ this.remark = remark;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|