新增食材管理
This commit is contained in:
@ -63,7 +63,27 @@ public class SysIngredient extends BaseEntity
|
||||
@Excel(name = "推荐")
|
||||
private String recommend;
|
||||
|
||||
public void setId(Long id)
|
||||
private Long[] recIds;
|
||||
|
||||
private Long[] notRecIds;
|
||||
|
||||
public Long[] getRecIds() {
|
||||
return recIds;
|
||||
}
|
||||
|
||||
public Long[] getNotRecIds() {
|
||||
return notRecIds;
|
||||
}
|
||||
|
||||
public void setNotRecIds(Long[] notRecIds) {
|
||||
this.notRecIds = notRecIds;
|
||||
}
|
||||
|
||||
public void setRedIds(Long[] recIds) {
|
||||
this.recIds = recIds;
|
||||
}
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
@ -153,21 +173,21 @@ public class SysIngredient extends BaseEntity
|
||||
{
|
||||
return area;
|
||||
}
|
||||
public void setNotRec(String notRec)
|
||||
public void setNotRec(String notRec)
|
||||
{
|
||||
this.notRec = notRec;
|
||||
}
|
||||
|
||||
public String getNotRec()
|
||||
public String getNotRec()
|
||||
{
|
||||
return notRec;
|
||||
}
|
||||
public void setRecommend(String recommend)
|
||||
public void setRecommend(String recommend)
|
||||
{
|
||||
this.recommend = recommend;
|
||||
}
|
||||
|
||||
public String getRecommend()
|
||||
public String getRecommend()
|
||||
{
|
||||
return recommend;
|
||||
}
|
||||
|
@ -0,0 +1,30 @@
|
||||
package com.stdiet.custom.domain;
|
||||
|
||||
public class SysIngredientNotRec {
|
||||
private Long ingredientId;
|
||||
private Long notRecommandId;
|
||||
|
||||
public Long getIngredientId() {
|
||||
return ingredientId;
|
||||
}
|
||||
|
||||
public void setIngredientId(Long ingredientId) {
|
||||
this.ingredientId = ingredientId;
|
||||
}
|
||||
|
||||
public Long getRecommandId() {
|
||||
return notRecommandId;
|
||||
}
|
||||
|
||||
public void setRecommandId(Long recommandId) {
|
||||
this.notRecommandId = recommandId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SysIngredientRec{" +
|
||||
"ingredientId=" + ingredientId +
|
||||
", notRecommandId=" + notRecommandId +
|
||||
'}';
|
||||
}
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package com.stdiet.custom.domain;
|
||||
|
||||
public class SysIngredientRec {
|
||||
private Long ingredientId;
|
||||
private Long recommandId;
|
||||
|
||||
public Long getIngredientId() {
|
||||
return ingredientId;
|
||||
}
|
||||
|
||||
public void setIngredientId(Long ingredientId) {
|
||||
this.ingredientId = ingredientId;
|
||||
}
|
||||
|
||||
public Long getRecommandId() {
|
||||
return recommandId;
|
||||
}
|
||||
|
||||
public void setRecommandId(Long recommandId) {
|
||||
this.recommandId = recommandId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "SysIngredientRec{" +
|
||||
"ingredientId=" + ingredientId +
|
||||
", recommandId=" + recommandId +
|
||||
'}';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user