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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
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 RecipePointPageReqVO extends PageParam {

    @Schema(description = "关联配方ID", example = "28516")
    private Long recipeId;

    @Schema(description = "参数名字", example = "李四")
    private String name;

    @Schema(description = "上限")
    private BigDecimal max;

    @Schema(description = "下限")
    private BigDecimal min;

    @Schema(description = "数据类型", example = "1")
    private String dataType;

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

    @Schema(description = "备注", example = "你说的对")
    private String remark;

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

    @Schema(description = "参考值")
    private BigDecimal refer;

}