商品 上下架

This commit is contained in:
2024-09-19 17:12:08 +08:00
parent df3e3604f2
commit f55f709fec
2 changed files with 7 additions and 6 deletions

View File

@@ -321,6 +321,11 @@ public class TbProduct implements Serializable {
private Integer stockNumber = 0;
@Column(name = "is_grounding")
@ApiModelProperty("上下架")
private Integer isGrounding = 1;
public void copy(TbProduct source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
}