package com.cf.imes.module.system.api.process.dto;

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

import java.util.List;

@Schema(description = "RPC 服务 - ProcessGroup 工序 Response DTO")
@Data
public class ProcessListReqDTO {
    @Schema(description = "工序组 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10725")
    private Long id;

    @Schema(description = "工序组名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    private String name;

    @Schema(description = "是否默认工序组：0 否 1 是", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isDefault;

    @Schema(description = "排序优先级", requiredMode = Schema.RequiredMode.REQUIRED)
    private Short sort;

    @Schema(description = "明细，工序 ID 逗号分隔", requiredMode = Schema.RequiredMode.REQUIRED)
    private String items;

    @Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "随便")
    private String description;

    @Schema(description = "工序列表", requiredMode = Schema.RequiredMode.REQUIRED)
    private List<ProcessRespDTO> lists;

}
