288 lines
4.6 KiB
Plaintext
288 lines
4.6 KiB
Plaintext
package com.nationalelectric.greenH5.po;
|
|
|
|
import java.util.List;
|
|
|
|
import org.codehaus.jackson.annotate.JsonIgnore;
|
|
import org.hibernate.validator.constraints.NotBlank;
|
|
|
|
import com.nationalelectric.greenH5.DTO.GreenFoodOrderDetailDTO;
|
|
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* GreenFoodOrderList
|
|
* @author dell
|
|
*/
|
|
public class GreenFoodOrderList implements java.io.Serializable {
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = 2277339367464301709L;
|
|
|
|
/**
|
|
* 序列化
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
*主键ID
|
|
*/
|
|
|
|
private Long id;
|
|
|
|
/**
|
|
*订餐地址
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private Long diningRoomId;
|
|
|
|
/**
|
|
*用户ID
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String userId;
|
|
|
|
/**
|
|
*订餐日期
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String orderTime;
|
|
|
|
/**
|
|
*支付价格
|
|
*/
|
|
@JsonIgnore
|
|
@NotBlank(message="不能为空")
|
|
private String payPrice;
|
|
|
|
/**
|
|
*支付操作 0未支付 1已支付 2支付中
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String payStatus;
|
|
|
|
/**
|
|
*订单状态 0已取消 1预定成功
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String orderStatus;
|
|
|
|
/**
|
|
*取货操作 0未取货 1已取货
|
|
*/
|
|
@NotBlank(message="不能为空")
|
|
private String takeStatus;
|
|
|
|
/**
|
|
*订餐人姓名
|
|
*/
|
|
|
|
private String buyerName;
|
|
|
|
/**
|
|
*订餐人电话
|
|
*/
|
|
|
|
private String buyerPhone;
|
|
|
|
private List<GreenFoodOrderDetailDTO> orderDetails;
|
|
/**
|
|
*创建者
|
|
*/
|
|
@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";
|
|
|
|
/**
|
|
*取餐时间
|
|
*/
|
|
|
|
private String takeFoodTime;
|
|
private String takeFoodPlace;
|
|
|
|
private String remarks;
|
|
|
|
public String getRemarks() {
|
|
return remarks;
|
|
}
|
|
|
|
public void setRemarks(String remarks) {
|
|
this.remarks = remarks;
|
|
}
|
|
|
|
public String getTakeFoodPlace() {
|
|
return takeFoodPlace;
|
|
}
|
|
|
|
public void setTakeFoodPlace(String takeFoodPlace) {
|
|
this.takeFoodPlace = takeFoodPlace;
|
|
}
|
|
|
|
public String getTakeFoodTime() {
|
|
return takeFoodTime;
|
|
}
|
|
|
|
public void setTakeFoodTime(String takeFoodTime) {
|
|
this.takeFoodTime = takeFoodTime;
|
|
}
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getDiningRoomId() {
|
|
return diningRoomId;
|
|
}
|
|
|
|
public void setDiningRoomId(Long diningRoomId) {
|
|
this.diningRoomId = diningRoomId;
|
|
}
|
|
|
|
public String getUserId() {
|
|
return userId;
|
|
}
|
|
|
|
public void setUserId(String userId) {
|
|
this.userId = userId;
|
|
}
|
|
|
|
public String getOrderTime() {
|
|
return orderTime;
|
|
}
|
|
|
|
public void setOrderTime(String orderTime) {
|
|
this.orderTime = orderTime;
|
|
}
|
|
|
|
public String getPayPrice() {
|
|
return payPrice;
|
|
}
|
|
|
|
public void setPayPrice(String payPrice) {
|
|
this.payPrice = payPrice;
|
|
}
|
|
|
|
public String getPayStatus() {
|
|
return payStatus;
|
|
}
|
|
|
|
public void setPayStatus(String payStatus) {
|
|
this.payStatus = payStatus;
|
|
}
|
|
|
|
public String getOrderStatus() {
|
|
return orderStatus;
|
|
}
|
|
|
|
public void setOrderStatus(String orderStatus) {
|
|
this.orderStatus = orderStatus;
|
|
}
|
|
|
|
public String getTakeStatus() {
|
|
return takeStatus;
|
|
}
|
|
|
|
public void setTakeStatus(String takeStatus) {
|
|
this.takeStatus = takeStatus;
|
|
}
|
|
|
|
public String getBuyerName() {
|
|
return buyerName;
|
|
}
|
|
|
|
public void setBuyerName(String buyerName) {
|
|
this.buyerName = buyerName;
|
|
}
|
|
|
|
public String getBuyerPhone() {
|
|
return buyerPhone;
|
|
}
|
|
|
|
public void setBuyerPhone(String buyerPhone) {
|
|
this.buyerPhone = buyerPhone;
|
|
}
|
|
|
|
|
|
|
|
public List<GreenFoodOrderDetailDTO> getOrderDetails() {
|
|
return orderDetails;
|
|
}
|
|
|
|
public void setOrderDetails(List<GreenFoodOrderDetailDTO> orderDetails) {
|
|
this.orderDetails = orderDetails;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
|
|
|
|
}
|