feat: 1.库存账接口

This commit is contained in:
Yifei Kuang 2025-01-06 15:46:16 +08:00
parent dfc3b833a8
commit 7e1b941f39
1 changed files with 81 additions and 0 deletions

View File

@ -0,0 +1,81 @@
package com.wansenai.vo.stock;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
@Data
@Schema(description = "库存账VO")
public class StockAccountVO {
@Schema(description = "主键ID")
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long id;
@Schema(description = "仓库ID")
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long warehouseId;
@Schema(description = "仓库名称")
private String warehouseName;
@Schema(description = "库区ID")
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long warehouseTypeId;
@Schema(description = "库存类型")
private String stockType;
@Schema(description = "商品ID")
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long goodsId;
@Schema(description = "商品名称")
private String goodsName;
@Schema(description = "商品规格")
private String goodsStandard;
@Schema(description = "商品型号")
private String goodsModel;
@Schema(description = "商品单位")
private String goodsUnit;
@Schema(description = "物料ID")
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long skuId;
@Schema(description = "锁定数")
private BigDecimal qtyLock;
@Schema(description = "在途数")
private BigDecimal qtyTran;
@Schema(description = "在库数")
private BigDecimal qty;
@Schema(description = "发货在途数")
private BigDecimal qtyTranOut;
@Schema(description = "收货在途数")
private BigDecimal qtyTranIn;
@Schema(description = "创建时间")
private Date createTime;
@Schema(description = "创建人")
private String createBy;
@Schema(description = "更新时间")
private Date updateTime;
@Schema(description = "更新人")
private String updateBy;
@Schema(description = "备注")
private String remark;
}