123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- package com.caimei.modules.baike.entity;
- import org.hibernate.validator.constraints.Length;
- import java.util.Date;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import com.thinkgem.jeesite.common.persistence.DataEntity;
- /**
- * 采美百科热搜词Entity
- * @author Aslee
- * @version 2021-11-18
- */
- public class CmBaikeHotSearch extends DataEntity<CmBaikeHotSearch> {
-
- private static final long serialVersionUID = 1L;
- private String keyWord; // 热搜词
- private Integer jumpType; // 跳转方式:1仅搜索,2产品,3仪器,4链接
- private Integer productId; // 产品/仪器id
- private String jumpLink; // 跳转链接
- private Integer sort; // 排序值
- private Integer status; // 状态:0停用,1启用
- private Date addTime; // 添加时间
- private Integer addBy; // 添加人
- private String addUserName; //添加人名称
- private Integer instrumentId; // 仪器id
-
- public CmBaikeHotSearch() {
- super();
- }
- public CmBaikeHotSearch(String id){
- super(id);
- }
- @Length(min=0, max=15, message="热搜词长度必须介于 0 和 15 之间")
- public String getKeyWord() {
- return keyWord;
- }
- public void setKeyWord(String keyWord) {
- this.keyWord = keyWord;
- }
-
- public Integer getJumpType() {
- return jumpType;
- }
- public void setJumpType(Integer jumpType) {
- this.jumpType = jumpType;
- }
-
- public Integer getProductId() {
- return productId;
- }
- public void setProductId(Integer productId) {
- this.productId = productId;
- }
-
- public String getJumpLink() {
- return jumpLink;
- }
- public void setJumpLink(String jumpLink) {
- this.jumpLink = jumpLink;
- }
-
- public Integer getSort() {
- return sort;
- }
- public void setSort(Integer sort) {
- this.sort = sort;
- }
-
- public Integer getStatus() {
- return status;
- }
- public void setStatus(Integer status) {
- this.status = status;
- }
-
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- public Date getAddTime() {
- return addTime;
- }
- public void setAddTime(Date addTime) {
- this.addTime = addTime;
- }
-
- public Integer getAddBy() {
- return addBy;
- }
- public void setAddBy(Integer addBy) {
- this.addBy = addBy;
- }
- public String getAddUserName() {
- return addUserName;
- }
- public void setAddUserName(String addUserName) {
- this.addUserName = addUserName;
- }
- public Integer getInstrumentId() {
- return instrumentId;
- }
- public void setInstrumentId(Integer instrumentId) {
- this.instrumentId = instrumentId;
- }
- }
|