package com.hotwj.platform.noticeManagerment.adminNotice.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 行管通知对象 hot_admin_notice
 *
 * @author shihongwei
 * @date 2026-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_admin_notice")
public class HotAdminNotice extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 通知ID
     */
    private Long noticeId;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 通知类型字典值
     */
    private Long notifyType;

    /**
     * 通知文件URL
     */
    private String attachmentUrl;

    /**
     * 下发时间
     */
    private Date issueTime;

    /**
     * 是否收到: 0=否, 1=是
     */
    private Long isReceived;

    /**
     * 接收时间
     */
    private Date receiveTime;

    /**
     * 截至时间
     */
    private String deadlineTime;

    /**
     * 回复文件URL
     */
    private String replyAttachmentUrl;

    /**
     * 状态: 0=待审核, 1=审核通过, 2=审核驳回
     */
    private Integer status;

    /**
     * 0=正常, 1=已删除
     */
    @TableLogic
    private Long isDeleted;


}
