package com.zhgd.xmgl.modules.basicdata.entity;

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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 通知公告接受表
 * @author： pengj
 * @date： 2023-03-02
 * @version： V1.0
 */
@Data
@TableName("notice_accept")
@ApiModel(value = "NoticeAccept实体类", description = "NoticeAccept")
public class NoticeAccept implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 通知公告id
     */
    @Excel(name = "通知公告id", width = 15)
    @ApiModelProperty(value = "通知公告id")
    private Long noticeId;
    /**
     * 接受方单位
     */
    @Excel(name = "接受方单位", width = 15)
    @ApiModelProperty(value = "接受方单位")
    private String accept;
    /**
     * 是否已读(0:未读;1:已读;)
     */
    @Excel(name = "是否已读(0:未读;1:已读;)", width = 15)
    @ApiModelProperty(value = "是否已读(0:未读;1:已读;)")
    private Integer isRead;
    /**
     * 查看时间
     */
    @Excel(name = "查看时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "查看时间")
    private Date readTime;

    /**
     * 单位类型，2.政务;3.企业;4.项目
     */
    @Excel(name = "单位类型，2.政务;3.企业;4.项目")
    @ApiModelProperty(value = "单位类型，2.政务;3.企业;4.项目")
    private Integer acceptType;

    @TableField(exist = false)
    @Excel(name = "接受方单位名称", width = 15)
    @ApiModelProperty(value = "接受方单位名称")
    private String acceptName;
}
