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

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

    @Schema(description = "配方名称", example = "李四")
    private String name;

    @Schema(description = "配方编码")
    private String recipeCode;

    @Schema(description = "关联配方类型", example = "2")
    private String recipeType;

    @Schema(description = "关联产品名字", example = "赵六")
    private String productName;

    @Schema(description = "关联设备名字", example = "赵六")
    private String machineName;

    @Schema(description = "配方描述")
    private String recipeDesc;

    @Schema(description = "是否启用（0-禁用，1-启用）", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "是否启用（0-禁用，1-启用）不能为空")
    private Boolean isEnable;

    @Schema(description = "数据单位")
    private String dataUnit;

    @Schema(description = "设备Id")
    private Long machineId;

    @Schema(description = "配方类型ID", example = "1001")
    private Long recipeTypeId;

     @Schema(description = "关联产品ID", example = "1001")
    private Long productId;

}