新增食材管理

This commit is contained in:
huangdeliang
2020-12-16 22:10:20 +08:00
parent 27bf41b006
commit d1786f5327
7 changed files with 346 additions and 200 deletions

View File

@ -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;
}

View File

@ -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 +
'}';
}
}

View File

@ -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 +
'}';
}
}