package cn.iocoder.yudao.module.mes.controller.admin.feedingplan.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
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 FeedingRecordPlanPageReqVO extends PageParam {

    @Schema(description = "记录id", example = "997")
    private Long recordId;

    @Schema(description = "记录明细id", example = "2395")
    private Long recordDetailId;

    @Schema(description = "计划id", example = "17658")
    private Long planId;
    @Schema(description = "任务单明细id", example = "24750")
    private Long taskDetailId;

    @Schema(description = "原料id", example = "19133")
    private Long itemId;

    @Schema(description = "重量")
    private BigDecimal weight;

    @Schema(description = "单位", example = "27598")
    private Long unitId;

    @Schema(description = "记录人", example = "14853")
    private Long userId;

    @Schema(description = "投料时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] feedingTime;

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

}