feat: 增加商品型号

This commit is contained in:
2024-11-15 22:43:05 +08:00
parent bd11bef7cf
commit 400a141a0d
6 changed files with 27 additions and 0 deletions

View File

@@ -41,6 +41,11 @@ public class CreateWarehouseGoodsDto extends OrgCommonDto {
private String spec;
@Comment("型号")
private String model;
@Comment("重量 kg")
private Double weight;

View File

@@ -39,6 +39,11 @@ public class UpdateWarehouseGoodsDto extends OrgCommonDto {
private String spec;
@Comment("型号")
private String model;
@Comment("重量 kg")
private Double weight;

View File

@@ -41,6 +41,11 @@ public class WarehouseGoodsDto extends OrgCommonDto {
private String spec;
@Comment("型号")
private String model;
@Comment("重量 kg")
private Double weight;

View File

@@ -51,9 +51,14 @@ public class WarehouseGoodsEntity extends OrgCommonEntity {
private String spec;
@Comment("型号")
private String model;
@Comment("重量 kg")
private Double weight;
@Comment("体积 m3")
private Double volume;

View File

@@ -46,6 +46,9 @@ public class WarehouseGoodsSummaryDto extends OrgCommonDto {
@Comment("规格")
private String spec;
@Comment("型号")
private String model;
@Comment("重量 kg")
private Double weight;

View File

@@ -41,6 +41,7 @@ select
g.price5,
g.size,
g.spec,
g.model,
g.volume,
g.weight,
g.brand_id,
@@ -101,6 +102,9 @@ public class WarehouseGoodsSummaryEntity extends OrgCommonEntity {
@Comment("规格")
private String spec;
@Comment("型号")
private String model;
@Comment("重量 kg")
private Double weight;