商品库存警戒线

This commit is contained in:
2024-10-08 11:36:46 +08:00
parent 657596f619
commit d4cc9deed0
5 changed files with 103 additions and 101 deletions

View File

@@ -131,6 +131,8 @@ public class TbProduct implements Serializable {
private Integer stockNumber;
private Integer warnLine = 0;
@Transient
private int orderCount;
@@ -655,4 +657,12 @@ public class TbProduct implements Serializable {
public void setStockNumber(Integer stockNumber) {
this.stockNumber = stockNumber;
}
public Integer getWarnLine() {
return warnLine;
}
public void setWarnLine(Integer warnLine) {
this.warnLine = warnLine;
}
}

View File

@@ -35,8 +35,6 @@ public class TbProductSku implements Serializable {
private String coverImg;
private Integer warnLine;
private Double weight;
private Float volume;