161 lines
2.4 KiB
Plaintext
161 lines
2.4 KiB
Plaintext
package com.nationalelectric.greenH5.po;
|
|
|
|
import org.hibernate.validator.constraints.NotBlank;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* GreenFoodsMenu
|
|
* @author dell
|
|
*/
|
|
public class GreenFoodsMenu implements java.io.Serializable {
|
|
|
|
/**
|
|
* 序列化
|
|
*/
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
/**
|
|
*主键ID
|
|
*/
|
|
|
|
private Long id;
|
|
|
|
/**
|
|
*食堂Id
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Long locationId;
|
|
|
|
/**
|
|
*预售日期
|
|
*/
|
|
|
|
private String sellDate;
|
|
|
|
/**
|
|
*菜品谱
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String foodMenu;
|
|
|
|
/**
|
|
*外卖使用状态 0未开始 1使用中 2已停用
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String _status;
|
|
|
|
/**
|
|
*创建者
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String creator = "admin";
|
|
|
|
/**
|
|
*修改者
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String modifier = "admin";
|
|
|
|
/**
|
|
*创建时间
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Date gmtCreated = new Date();
|
|
|
|
/**
|
|
*修改时间
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Date gmtModified = new Date();
|
|
|
|
/**
|
|
*是否删除YN默认N
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String isDeleted = "N";
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getLocationId() {
|
|
return locationId;
|
|
}
|
|
|
|
public void setLocationId(Long locationId) {
|
|
this.locationId = locationId;
|
|
}
|
|
|
|
public String getSellDate() {
|
|
return sellDate;
|
|
}
|
|
|
|
public void setSellDate(String sellDate) {
|
|
this.sellDate = sellDate;
|
|
}
|
|
|
|
public String getFoodMenu() {
|
|
return foodMenu;
|
|
}
|
|
|
|
public void setFoodMenu(String foodMenu) {
|
|
this.foodMenu = foodMenu;
|
|
}
|
|
|
|
public String get_status() {
|
|
return _status;
|
|
}
|
|
|
|
public void set_status(String _status) {
|
|
this._status = _status;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
|
|
}
|