修改通俗计量方式
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package com.stdiet.custom.domain;
|
||||
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
@ -11,6 +12,7 @@ import java.math.BigDecimal;
|
||||
* @author wonder
|
||||
* @date 2020-12-28
|
||||
*/
|
||||
@Data
|
||||
public class SysDishesIngredient extends SysIngredient {
|
||||
|
||||
private Long ingredientId;
|
||||
@ -21,68 +23,10 @@ public class SysDishesIngredient extends SysIngredient {
|
||||
|
||||
private BigDecimal cusWeight;
|
||||
|
||||
private Integer cusWei;
|
||||
|
||||
private BigDecimal weight;
|
||||
|
||||
private String remark;
|
||||
|
||||
@Override
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public Long getIngredientId() {
|
||||
return ingredientId;
|
||||
}
|
||||
|
||||
public void setIngredientId(Long ingredientId) {
|
||||
this.ingredientId = ingredientId;
|
||||
}
|
||||
|
||||
public Long getDishesId() {
|
||||
return dishesId;
|
||||
}
|
||||
|
||||
public void setDishesId(Long dishesId) {
|
||||
this.dishesId = dishesId;
|
||||
}
|
||||
|
||||
public BigDecimal getWeight() {
|
||||
return weight;
|
||||
}
|
||||
|
||||
public void setWeight(BigDecimal weight) {
|
||||
this.weight = weight;
|
||||
}
|
||||
|
||||
public BigDecimal getCusWeight() {
|
||||
return cusWeight;
|
||||
}
|
||||
|
||||
public void setCusWeight(BigDecimal cusWeight) {
|
||||
this.cusWeight = cusWeight;
|
||||
}
|
||||
|
||||
public Long getCusUnit() {
|
||||
return cusUnit;
|
||||
}
|
||||
|
||||
public void setCusUnit(Long cusUnit) {
|
||||
this.cusUnit = cusUnit;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("ingredientId", getIngredientId())
|
||||
.append("dishesId", getDishesId())
|
||||
.append("weight", getWeight())
|
||||
.append("cusWeight", getCusWeight())
|
||||
.append("cusUnit", getCusUnit())
|
||||
.toString();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user