This commit is contained in:
huangdeliang
2020-12-29 10:07:19 +08:00
parent fa5264b908
commit eeaa3d36e9
15 changed files with 952 additions and 18 deletions

View File

@ -0,0 +1,83 @@
package com.stdiet.custom.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.stdiet.common.annotation.Excel;
import com.stdiet.common.core.domain.BaseEntity;
/**
* 菜品对象 sys_dishes
*
* @author wonder
* @date 2020-12-28
*/
public class SysDishes extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** id */
private Long id;
/** 菜品名称 */
@Excel(name = "菜品名称")
private String name;
/** 菜品类型 */
@Excel(name = "菜品类型")
private String type;
/** 做法 */
@Excel(name = "做法")
private String methods;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setName(String name)
{
this.name = name;
}
public String getName()
{
return name;
}
public void setType(String type)
{
this.type = type;
}
public String getType()
{
return type;
}
public void setMethods(String methods)
{
this.methods = methods;
}
public String getMethods()
{
return methods;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("name", getName())
.append("type", getType())
.append("methods", getMethods())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.toString();
}
}