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

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

import java.util.Date;

/**
 * 通知记录业务对象 hot_notice_record
 *
 * @author shihongwei
 * @date 2026-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotNoticeRecord.class, reverseConvertGenerate = false)
public class HotNoticeRecordBo extends BaseEntity {

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

    /**
     * 通知方式
     */
    private String notifyChannel;

    /**
     * 通知类型
     */
    private String noticeType;

    /**
     * 通知对象
     */
    private String noticeTarget;

    /**
     * 对象类型
     */
    private String noticeTargetType;

    /**
     * 通知手机号
     */
    private String noticeMobile;

    /**
     * 通知时间
     */
    private Date noticeTime;

    /**
     * 通知人员ID
     */
    private Long noticeUserId;

    /**
     * 通知人员名称
     */
    private String noticeUserName;

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


}
