package cn.iocoder.yudao.module.mes.controller.admin.stockworkshop.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 StockWorkshopDetailPageReqVO extends PageParam {

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

    @Schema(description = "数量", example = "28845")
    private BigDecimal count;

    @Schema(description = "明细类别", example = "2")
    private String detailType;

    @Schema(description = "领料单")
    private String itemRequisitionCode;

    @Schema(description = "领料明细id", example = "877")
    private Long itemRequisitionDetailId;

    @Schema(description = "投料单")
    private String feedingRecordCode;

    @Schema(description = "投料id", example = "19286")
    private Long feedingRecordId;

    @Schema(description = "操作人员", example = "26362")
    private Long userId;

    @Schema(description = "单据时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operateTime;

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

}