package cn.iocoder.yudao.module.mes.controller.admin.wm.transaction.vo;
|
|
import cn.iocoder.yudao.framework.common.pojo.PageParam;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.ToString;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.time.LocalDateTime;
|
|
import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;
|
|
/**
|
* 库存事务流水查询 Request VO
|
*/
|
@Schema(description = "管理后台 - 库存事务流水查询 Request VO")
|
@Data
|
@EqualsAndHashCode(callSuper = true)
|
@ToString(callSuper = true)
|
public class MesWmTransactionPageReqVO extends PageParam {
|
|
@Schema(description = "物料ID", example = "1")
|
private Long itemId;
|
|
@Schema(description = "批次号", example = "BATCH001")
|
private String batchCode;
|
|
@Schema(description = "仓库ID", example = "1")
|
private Long warehouseId;
|
|
@Schema(description = "库区ID", example = "1")
|
private Long locationId;
|
|
@Schema(description = "库位ID", example = "1")
|
private Long areaId;
|
|
@Schema(description = "事务类型(1-入库 2-出库)", example = "1")
|
private Integer type;
|
|
@Schema(description = "业务类型(126-自定义入库 127-自定义出库 等)", example = "126")
|
private Integer bizType;
|
|
@Schema(description = "业务单号", example = "STOCK_ADJUST_1")
|
private String bizCode;
|
|
@Schema(description = "库存记录ID", example = "1")
|
private Long materialStockId;
|
|
@Schema(description = "开始时间")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
private LocalDateTime startTime;
|
|
@Schema(description = "结束时间")
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
private LocalDateTime endTime;
|
|
}
|