| | |
| | | package com.yeshi.fanli.entity.dynamic; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | import com.yeshi.fanli.vo.msg.ClientTextStyleVO; |
| | | import com.yeshi.common.vo.ClientTextStyleVO; |
| | | |
| | | public class CommentInfo implements Serializable { |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | private String id; |
| | | // 类型 |
| | | @Expose |
| | | private CommentInfoEnum type; |
| | | private CommentInfoEnum typeEnum; |
| | | // 类型 |
| | | @Expose |
| | | private String type; |
| | | |
| | | // 内容 |
| | | @Expose |
| | | private String content; |
| | | // 标签 |
| | | @Expose |
| | | private List<ClientTextStyleVO> tagList; |
| | | private List<ClientTextStyleVO> tagList = new ArrayList<ClientTextStyleVO>() ; |
| | | // 标签说明 |
| | | @Expose |
| | | private String tagDesc; |
| | |
| | | private String coupon; |
| | | // 券来源 |
| | | private String couponSource; |
| | | // 结束时间 |
| | | // @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | // private Date endTime; |
| | | |
| | | // 通用券是否转链 |
| | | private Boolean needSpin; |
| | | |
| | | private String tags; |
| | | private String tagsColour; |
| | | private String endTime; |
| | | |
| | | public CommentInfoEnum getTypeEnum() { |
| | | return typeEnum; |
| | | } |
| | | |
| | | public CommentInfoEnum getType() { |
| | | public void setTypeEnum(CommentInfoEnum typeEnum) { |
| | | this.typeEnum = typeEnum; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(CommentInfoEnum type) { |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | |
| | | public void setEndTime(String endTime) { |
| | | this.endTime = endTime; |
| | | } |
| | | |
| | | public Boolean getNeedSpin() { |
| | | return needSpin; |
| | | } |
| | | |
| | | public void setNeedSpin(Boolean needSpin) { |
| | | this.needSpin = needSpin; |
| | | } |
| | | |
| | | } |