package com.hdkj.lt.bf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

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

/**
 * 
 * @TableName fhzg_notice_attachment
 */
@TableName(value ="fhzg_notice_attachment")
@Data
public class FhzgNoticeAttachment implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 
     */
    @TableField(value = "notice_id")
    private Long noticeId;

    /**
     * 附件id
     */
    @TableField(value = "attachment_id")
    private Long attachmentId;

    /**
     * 附件名
     */
    @TableField(value = "attachment_name")
    private String attachmentName;

    /**
     * 文件状态（文档下架用 0-下架 1-正常 ）
     */
    @TableField(value = "status")
    private Integer status;

    @TableField(value = "file_size")
    private Integer fileSize;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}