商品 库存警戒线
快捷修改 商品退款退回库存
This commit is contained in:
@@ -320,11 +320,18 @@ public class TbProduct implements Serializable {
|
||||
@ApiModelProperty("库存数量")
|
||||
private Integer stockNumber = 0;
|
||||
|
||||
|
||||
@Column(name = "is_grounding")
|
||||
@ApiModelProperty("上下架")
|
||||
private Integer isGrounding = 1;
|
||||
|
||||
@Column(name = "is_refund_stock")
|
||||
@ApiModelProperty("退款是否退回库存")
|
||||
private Integer isRefundStock = 1;
|
||||
|
||||
@Column(name = "warn_line")
|
||||
@ApiModelProperty("库存警戒线")
|
||||
private Integer warnLine = 0;
|
||||
|
||||
|
||||
public void copy(TbProduct source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
|
||||
Reference in New Issue
Block a user