商品 规格 编辑

This commit is contained in:
2024-07-11 16:58:10 +08:00
parent 2ed9bb48ec
commit ed2440d2d5
3 changed files with 9 additions and 3 deletions

View File

@@ -121,12 +121,18 @@ public class TbProductSku implements Serializable {
private Long updatedAt;
@Column(name = "`is_del`")
private Integer isDel;
private Integer isDel = 0;
@Column(name = "`is_pause_sale`")
@ApiModelProperty(value = "是否暂停销售")
private Integer isPauseSale = 0;
public void setIsDel(Integer isDel) {
if(isDel!=null){
this.isDel = isDel;
}
}
public void copy(TbProductSku source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
}