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.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 MaterialInventoryCheckDetailPageReqVO extends PageParam {

    @Schema(description = "盘点单id")
    private Long checkId;

    @Schema(description = "盘点项id", example = "1655")
    private Long itemId;

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

    @Schema(description = "是否存在,1-存在，0-不存在")
    private Integer present;

    @Schema(description = "物料编号,系统不存在的临时存储起来")
    private String infomationCode;

    @Schema(description = "当前数量")
    private String currentQuantity;

    @Schema(description = "状态", example = "1")
    private String status;

    @Schema(description = "处置方式,字典配置")
    private String disposalMethod;

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

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

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

}