package cn.iocoder.yudao.module.iot.controller.admin.recipetype.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 RecipeTypeSaveReqVO {

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

    @Schema(description = "类型编码（唯一标识）")
    private String code;

    @Schema(description = "类型名称", example = "张三")
    private String name;

    @Schema(description = "关联工序")
    private String process;

    @Schema(description = "配方类型描述", example = "你说的对")
    private String remark;

    @Schema(description = "排序字段", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "排序字段不能为空")
    private Integer sort;

}