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;
import java.util.ArrayList;
import java.util.List;

/**
 * 风险分类
 *
 * @author shihongwei
 * @date 2026-02-24
 */
@Data
@Schema(description = "风险分类")
public class RiskCategoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "分类标题")
    private String title;

    @Schema(description = "分类类型")
    private String type;

    @Schema(description = "风险数量")
    private Integer count;

    @Schema(description = "风险项列表")
    private List<RiskItemVo> items = new ArrayList<>();
}
