package com.newfiber.api.pc.model.entity; import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelProperty; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.annotations.TableName; import com.baomidou.mybatisplus.enums.IdType; import lombok.Data; import javax.validation.constraints.NotNull; import java.io.Serializable; import java.util.Date; import java.util.List; /** * 会商实体类 * @ClassName DiscussionInfo * @Description TODO * @Author 张鸿志 * @Date 2021年6月3日17:34:27 17:34 * Version 1.0 **/ @Data @TableName("discussion_info") public class DiscussionInfo implements Serializable { @TableId(value = "id",type = IdType.AUTO) @ExcelIgnore private Integer id; @TableField("discussion_theme") @NotNull @ExcelProperty(value = "会商主题") private String discussionTheme; @TableField("discussion_from") @NotNull @ExcelIgnore private Integer discussionFrom; /** 会商形式名称 */ @TableField(exist = false) private String discussionFromName; @TableField("discussion_addr") @NotNull private String discussionAddr; @TableField("discussion_type") @NotNull @ExcelIgnore private Integer discussionType; /** 会商类型名称 */ @TableField(exist = false) private String discussionTypeName; @TableField("discussion_division") @NotNull @ExcelIgnore private Integer discussionDivision; /** 会商分工名称 */ @TableField(exist = false) private String discussionDivisionName; @TableField("discussion_content") private String discussionContent; @TableField("create_time") @ExcelIgnore private Date createTime; @TableField("update_time") @ExcelIgnore private Date updateTime; @TableField("discussion_summary_file") @ExcelIgnore private String discussionSummaryFile; @TableField("discussion_summary_name") @ExcelIgnore private String discussionSummaryName; /**图片的真实路径**/ @TableField(exist = false) @ExcelIgnore private String filerealPath; /** 参会人员列表 */ @TableField(exist = false) @ExcelIgnore private List<DiscussionUser> userList; }