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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 配方计划详情表（配方库）分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RecipePlanDetailPageReqVO extends PageParam {

    @Schema(description = "编码（新建时输入）")
    private String code;

    @Schema(description = "名称（新建时输入）", example = "李四")
    private String name;

    @Schema(description = "关联配方（关联iot_recipe表的id）", example = "2489")
    private Long recipeId;

    @Schema(description = "关联计划（关联mes_plan表的id）", example = "28398")
    private Long planId;

    @Schema(description = "来源（新增/生产中）")
    private String source;

    @Schema(description = "是否启用")
    private Boolean isEnable;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}