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

    @Schema(description = "入库单id", example = "6344")
    private Long stockInId;

    @Schema(description = "入库单编号")
    private String stockInNo;

    @Schema(description = "入库单项id", example = "24135")
    private Long stockInItemId;

    @Schema(description = "计划id", example = "24750")
    private Long planId;

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

    @Schema(description = "产品", example = "258")
    private Long productId;

    @Schema(description = "数量")
    private BigDecimal number;

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

}