Merge branch 'refs/heads/share-stock' into dev

This commit is contained in:
GYJ
2024-06-26 09:04:44 +08:00
21 changed files with 636 additions and 89 deletions

View File

@@ -316,6 +316,10 @@ public class TbProduct implements Serializable {
@ApiModelProperty(value = "团购卷分类Id")
private String groupCategoryId;
@Column(name = "stock_number")
@ApiModelProperty("库存数量")
private Integer stockNumber;
public void copy(TbProduct source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));

View File

@@ -135,4 +135,8 @@ public class TbProductSku implements Serializable {
public void copy(TbProductSku source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
}
@Column(name = "`is_pause_sale`")
@ApiModelProperty(value = "是否暂停销售")
private Integer isPauseSale = 0;
}