package com.hotwj.platform.workbench.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 风险提醒详情
 *
 * @author shihongwei
 * @date 2026-02-24
 */
@Data
@Schema(description = "风险提醒详情")
public class RiskItemVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "风险标题")
    private String title;

    @Schema(description = "风险类型 (expired=已过期, warning=即将过期, not_configured=未配置, not_filled=未填写)")
    private String type;

    @Schema(description = "风险来源模块名")
    private String moduleName;

    @Schema(description = "模块类型")
    private String moduleType;

    @Schema(description = "人员类型 (1=驾驶员, 2=企业管理人员)")
    private Integer personnelType;

    @Schema(description = "人员ID")
    private String personnelId;

    @Schema(description = "业务ID(如车辆ID, 隐患ID等)")
    private String businessId;

    @Schema(description = "配置项key(企业配置跳转用)")
    private String configKey;

    @Schema(description = "培训ID")
    private String trainingId;

    @Schema(description = "培训参与人员记录ID")
    private String participantId;

    @Schema(description = "跳转链接")
    private String link;
}
