package cn.iocoder.yudao.module.iot.controller.admin.recipe.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 配方管理主 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RecipeRespVO {

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

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

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

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

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

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

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

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

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

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

    @Schema(description = "关联设备ID", example = "1001")
//    @ExcelProperty("关联设备ID")
    private Long deviceId;

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

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

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

}