package com.hotwj.platform.securityManagement.hiddenDanger.domain.bo;

import com.hotwj.platform.securityManagement.hiddenDanger.domain.HotHiddenDangerReviewRecord;
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_hidden_danger_review_record
 *
 * @author shihongwei
 * @date 2026-01-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotHiddenDangerReviewRecord.class, reverseConvertGenerate = false)
public class HotHiddenDangerReviewRecordBo extends BaseEntity {

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

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

    /**
     * 复查人ID
     */
    private Long reviewerId;

    /**
     * 复查人姓名
     */
    private String reviewerName;

    /**
     * 复查时间
     */
    private Date reviewTime;

    /**
     * 复查结论
     */
    private String reviewConclusion;

    /**
     * 是否合格：1=合格 0=不合格
     */
    private Long isQualified;

    /**
     * 复查人签字
     */
    private String reviewSign;

}
