package com.cf.imes.module.executor.controller.admin.process.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 生产单工序新增/修改 Request VO")
@Data
public class OrderProcessSaveReqVO {

    private Long id;

    @Schema(description = "生产单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "生产单号不能为空")
    private Long orderId;

    @Schema(description = "工序名", example = "张三")
    private String name;

    @Schema(description = "工序组 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4356")
    @NotNull(message = "工序组 ID不能为空")
    private Long groupId;

    @Schema(description = "工序状态，0未加工，1已加工", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "工序状态，0未加工，1已加工不能为空")
    private Boolean status;

    @Schema(description = "板材大小", example = "0")
    private Double size;

    @Schema(description = "下一工序 ID", example = "24046")
    private Long nextStepId;

    private Long organId;
}