商品 规格 编辑
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user