package com.cf.imes.module.system.controller.admin.process.vo.group;

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

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 工序组表 process_group Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProcessGroupRespVO {

    @Schema(description = "工序组 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10725")
    @ExcelProperty("工序组 ID")
    private Long id;

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

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

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

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

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}