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

import com.baomidou.mybatisplus.annotation.TableField;
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_notice_reply
 *
 * @author shihongwei
 * @date 2026-02-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_notice_reply")
public class HotNoticeReply extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 关联通知记录ID (hot_admin_notice主键)
     */
    private Long relationId;

    /**
     * 回复内容/整改说明
     */
    private String replyContent;

    /**
     * 附件URL (逗号分隔)
     */
    private String replyFiles;

    /**
     * 回复时间
     */
    private Date replyTime;

    /**
     * 审核意见/驳回原因
     */
    private String auditRemark;

    /**
     * 审核时间
     */
    private Date auditTime;

    /**
     * 审核人
     */
    private String auditBy;

    /**
     * 审核结果 (1=通过, 2=驳回)
     */
    @TableField(value = "status")
    private Integer auditStatus;

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


}
