package com.hotwj.platform.noticeManagerment.notificationIssue.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;

/**
 * 通知下发对象 hot_notification_issue
 *
 * @author shihongwei
 * @date 2026-01-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_notification_issue")
public class HotNotificationIssue extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 下发公司ids
     */
    private String issueCompanyIds;

    /**
     * 下发内容
     */
    private String issueContent;

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

    /**
     * 通知类型
     */
    private Long notifyType;

    /**
     * 回复期限
     */
    private String deadline;

    /**
     * 附件URL
     */
    private String attachmentUrl;

    /**
     * 省编码
     */
    private String provinceCode;

    /**
     * 市编码
     */
    private String cityCode;

    /**
     * 区/县编码
     */
    private String districtCode;

    /**
     * 区域名称(省市区组合展示)
     */
    private String areaName;

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

}
