package com.youchain.businessdata.inputJson;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Set;
@Data
public class MoParams {
    @ApiModelProperty(value = "库存组织id")
    @Schema(example = "100059")
    int orgId;

    @ApiModelProperty(value = "子库编码")
    @Schema(example = "[\"MA2111\"]")
    Set invCodes;


    @ApiModelProperty(value = "开始时间")
    @Schema(example = "2023-07-03 00:00:00")
    String startTime;

    @ApiModelProperty(value = "结束时间")
    @Schema(example = "2023-07-03 23:59:59")
    String endTime;

    @ApiModelProperty(value = "检验结果")
    String iqcResult;
    @ApiModelProperty(value = "送货单头ID")
    String deliveryHeaderId;
    @ApiModelProperty(value = "当前页码")
    @Schema(example = "1")
    int pageNo;

    @ApiModelProperty(value = "每页记录数")
    @Schema(example = "100")
    int pageSize;

    public MoParams() {

    }

    public MoParams(int orgId, Set invCodes, String startTime, String endTime) {
        this.orgId = orgId;
        this.invCodes = invCodes;
        this.startTime = startTime;
        this.endTime = endTime;
    }

}
