商品 上下架

This commit is contained in:
wangw 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));
}

View File

@ -29,14 +29,10 @@ public class TbProductNewVo {
private String typeEnum;
//库存
private Double stockNumber;
//是否在收银端上架 0否1是
private Integer isShowCash;
//是否在小程序上架 0否1是
private Integer isShowMall;
//上下架 0否1是
private Integer isGrounding;
//是否售罄 0否1是
private Integer isPauseSale;
//是否热销
private Integer isHot;
private List<ViewConSku> conInfos;