package com.hotwj.platform.config.accidentSeverityLevelConfig.domain.bo;

import com.hotwj.platform.config.accidentSeverityLevelConfig.domain.HotAccidentSeverityLevelConfig;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
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;

/**
 * 事故等级划分（严重程度）业务对象 hot_accident_severity_level_config
 *
 * @author shihongwei
 * @date 2026-01-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotAccidentSeverityLevelConfig.class, reverseConvertGenerate = false)
public class HotAccidentSeverityLevelConfigBo extends BaseEntity {

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

    /**
     * 取值（级别）
     */
    @NotNull(message = "取值（级别）不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long levelValue;

    /**
     * 法律法规及其他要求
     */
    @NotBlank(message = "法律法规及其他要求不能为空", groups = {AddGroup.class, EditGroup.class})
    private String lawRequirement;

    /**
     * 人员
     */
    @NotBlank(message = "人员不能为空", groups = {AddGroup.class, EditGroup.class})
    private String personnelDescription;

    /**
     * 直接经济损失
     */
    @NotBlank(message = "直接经济损失不能为空", groups = {AddGroup.class, EditGroup.class})
    private String directEconomicLoss;

    /**
     * 企业形象（社会影响）
     */
    @NotBlank(message = "企业形象（社会影响）不能为空", groups = {AddGroup.class, EditGroup.class})
    private String enterpriseReputation;

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


}
