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

import com.hotwj.platform.noticeManagerment.adminNotice.domain.HotAdminNotice;
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_admin_notice
 *
 * @author shihongwei
 * @date 2026-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotAdminNotice.class, reverseConvertGenerate = false)
public class HotAdminNoticeBo extends BaseEntity {

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

    /**
     * 公司ID
     */
    @NotNull(message = "公司ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long companyId;

    /**
     * 通知ID
     */
    @NotNull(message = "通知ID不能为空", groups = {AddGroup.class, EditGroup.class})
    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=已删除
     */
    private Long isDeleted;

    /**
     * 区域编码（查询条件）
     */
    private String districtCode;
}
