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

import com.hotwj.platform.noticeManagerment.noticeReply.domain.HotNoticeReply;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 通知整改回复记录业务对象 hot_notice_reply
 *
 * @author shihongwei
 * @date 2026-02-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotNoticeReply.class, reverseConvertGenerate = false)
public class HotNoticeReplyBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 关联通知记录ID (hot_admin_notice主键)
     */
    @NotNull(message = "关联通知记录ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long relationId;

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

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

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

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

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

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

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


}
