From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:22:45 +0800 Subject: [PATCH] 描述 --- src/main/java/com/gk/firework/Domain/EnterpriseFeed.java | 145 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 145 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Domain/EnterpriseFeed.java b/src/main/java/com/gk/firework/Domain/EnterpriseFeed.java new file mode 100644 index 0000000..8f9659e --- /dev/null +++ b/src/main/java/com/gk/firework/Domain/EnterpriseFeed.java @@ -0,0 +1,145 @@ +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<EnterpriseResource> 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<EnterpriseResource> getEnterpriseResources() { + return enterpriseResources; + } + + public void setEnterpriseResources(List<EnterpriseResource> 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; + } + + +} -- Gitblit v1.9.2