package com.njcn.rdms.module.project.controller.admin.project.vo.requirement;

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

import java.util.List;

/**
 * 管理后台 - 项目需求模块 Response VO
 */
@Schema(description = "管理后台 - 项目需求模块 Response VO")
@Data
public class ProjectRequirementModuleRespVO {

    @Schema(description = "模块 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "父模块 ID，0 表示顶级", example = "0")
    private Long parentId;

    @Schema(description = "所属项目 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long projectId;

    @Schema(description = "模块名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "核心功能")
    private String moduleName;

    @Schema(description = "模块说明", example = "项目核心功能模块")
    private String remark;

    @Schema(description = "图标", example = "icon-function")
    private String icon;

    @Schema(description = "排序值", example = "0")
    private Integer sort;

    @Schema(description = "子模块列表")
    private List<ProjectRequirementModuleRespVO> children;

}
