147 lines
2.2 KiB
Plaintext
147 lines
2.2 KiB
Plaintext
package com.nationalelectric.greenH5.po;
|
|
|
|
import org.hibernate.validator.constraints.NotBlank;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* GreenMenuTemplate
|
|
* @author dell
|
|
*/
|
|
public class GreenMenuTemplate implements java.io.Serializable {
|
|
|
|
/**
|
|
* 序列化
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/**
|
|
*主键ID
|
|
*/
|
|
|
|
private Long id;
|
|
|
|
/**
|
|
*菜谱模板名称
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String templateName;
|
|
|
|
/**
|
|
*菜品名称
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String foodsName;
|
|
|
|
/**
|
|
*菜品id
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String foodsIds;
|
|
|
|
/**
|
|
*创建者
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String creator;
|
|
|
|
/**
|
|
*修改者
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String modifier;
|
|
|
|
/**
|
|
*创建时间
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Date gmtCreated;
|
|
|
|
/**
|
|
*修改时间
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Date gmtModified;
|
|
|
|
/**
|
|
*是否删除YN默认N
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String isDeleted;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getTemplateName() {
|
|
return templateName;
|
|
}
|
|
|
|
public void setTemplateName(String templateName) {
|
|
this.templateName = templateName;
|
|
}
|
|
|
|
public String getFoodsName() {
|
|
return foodsName;
|
|
}
|
|
|
|
public void setFoodsName(String foodsName) {
|
|
this.foodsName = foodsName;
|
|
}
|
|
|
|
public String getFoodsIds() {
|
|
return foodsIds;
|
|
}
|
|
|
|
public void setFoodsIds(String foodsIds) {
|
|
this.foodsIds = foodsIds;
|
|
}
|
|
|
|
public String getCreator() {
|
|
return creator;
|
|
}
|
|
|
|
public void setCreator(String creator) {
|
|
this.creator = creator;
|
|
}
|
|
|
|
public String getModifier() {
|
|
return modifier;
|
|
}
|
|
|
|
public void setModifier(String modifier) {
|
|
this.modifier = modifier;
|
|
}
|
|
|
|
public Date getGmtCreated() {
|
|
return gmtCreated;
|
|
}
|
|
|
|
public void setGmtCreated(Date gmtCreated) {
|
|
this.gmtCreated = gmtCreated;
|
|
}
|
|
|
|
public Date getGmtModified() {
|
|
return gmtModified;
|
|
}
|
|
|
|
public void setGmtModified(Date gmtModified) {
|
|
this.gmtModified = gmtModified;
|
|
}
|
|
|
|
public String getIsDeleted() {
|
|
return isDeleted;
|
|
}
|
|
|
|
public void setIsDeleted(String isDeleted) {
|
|
this.isDeleted = isDeleted;
|
|
}
|
|
|
|
|
|
}
|