package com.gk.firework.Domain; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; import java.util.List; @TableName("enterprisefeed") public class EnterpriseFeed implements Serializable { private static final long serialVersionUID = 1L; /** 主键id id **/ @TableId(type = IdType.AUTO) private Long id; /** 反馈内容 content **/ private String content; /** 创建人(上传人) createby **/ private Long createby; /** 创建时间(上传时间) createtime **/ private Date createtime; /** 来源 from **/ private String source; /** 创建时间 enterpriseid **/ private Long enterpriseid; /** 创建时间(上传时间) findTime **/ @DateTimeFormat(pattern="yyyy-MM-dd") @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") private Date findtime; //创建人 private String createbyname; //有效标识 private Boolean validflag; @TableField(exist = false) private List enterpriseResources; /** 主键id id **/ public Long getId() { return id; } /** 主键id id **/ public void setId(Long id) { this.id = id; } /** 反馈内容 content **/ public String getContent() { return content; } /** 反馈内容 content **/ public void setContent(String content) { this.content = content == null ? null : content.trim(); } /** 创建人(上传人) createby **/ public Long getCreateby() { return createby; } /** 创建人(上传人) createby **/ public void setCreateby(Long createby) { this.createby = createby; } /** 创建时间(上传时间) createtime **/ public Date getCreatetime() { return createtime; } /** 创建时间(上传时间) createtime **/ public void setCreatetime(Date createtime) { this.createtime = createtime; } /** 创建时间 enterpriseid **/ public Long getEnterpriseid() { return enterpriseid; } /** 创建时间 enterpriseid **/ public void setEnterpriseid(Long enterpriseid) { this.enterpriseid = enterpriseid; } public List getEnterpriseResources() { return enterpriseResources; } public void setEnterpriseResources(List enterpriseResources) { this.enterpriseResources = enterpriseResources; } public String getCreatebyname() { return createbyname; } public void setCreatebyname(String createbyname) { this.createbyname = createbyname; } public Boolean getValidflag() { return validflag; } public void setValidflag(Boolean validflag) { this.validflag = validflag; } public String getSource() { return source; } public void setSource(String source) { this.source = source; } public Date getFindtime() { return findtime; } public void setFindtime(Date findtime) { this.findtime = findtime; } }