package com.zt.plat.module.base.controller.admin.processingoperation.vo;

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

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

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14097")
    private Long id;

    @Schema(description = "工序编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "工序编码不能为空")
    private String code;

    @Schema(description = "工序名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "工序名称不能为空")
    private String name;

    @Schema(description = "排序号")
    private Long sort;

    @Schema(description = "类型值-工序类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类型值-工序类型不能为空")
    private String typeValue;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "备注不能为空")
    private String remark;

}