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;

    public MoParams() {

    }

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

}
