package com.zt.plat.module.qms.resource.material.controller.vo;

import com.zt.plat.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 出库明细分页 Request VO")
@Data
public class MaterialInventoryOutboundDetailPageReqVO extends PageParam {

    @Schema(description = "物料大类id", example = "13529")
    private Long productId;

    @Schema(description = "出库单id", example = "13529")
    private Long outboundId;

    @Schema(description = "物料实例id", example = "1502")
    private Long infomationId;

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

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "备注")
    private String remark;

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

}