package cn.iocoder.yudao.module.system.controller.admin.biz.vo.materialio.inventory;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 库存流水查询 Request VO")
@Data
public class MaterialInventoryFlowReqVO {

    @Schema(description = "入库单明细ID", required = true, example = "1")
    @NotNull(message = "入库单明细ID不能为空")
    private Long inboundItemId;

    @Schema(description = "月份范围（YYYY-MM），数组第0个为开始，第1个为结束，可不传结束", required = true, example = "[\"2024-06\",\"2024-07\"]")
    @NotEmpty(message = "月份范围不能为空")
    private String[] months;

}

