去除多余cost字段
This commit is contained in:
@@ -320,10 +320,6 @@ public class TbProduct implements Serializable {
|
||||
@ApiModelProperty("库存数量")
|
||||
private Integer stockNumber;
|
||||
|
||||
@Column(name = "`total_cost_price`")
|
||||
@ApiModelProperty(value = "总成本价")
|
||||
private BigDecimal totalCostPrice = BigDecimal.ZERO;
|
||||
|
||||
|
||||
public void copy(TbProduct source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
|
||||
@@ -140,7 +140,5 @@ public class TbProductSku implements Serializable {
|
||||
@ApiModelProperty(value = "是否暂停销售")
|
||||
private Integer isPauseSale = 0;
|
||||
|
||||
@Column(name = "`total_cost_price`")
|
||||
@ApiModelProperty(value = "总成本价")
|
||||
private BigDecimal totalCostPrice = BigDecimal.ZERO;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user