package com.lotaai.canguiayw.sqllitedb;
|
|
import org.greenrobot.greendao.annotation.Entity;
|
import org.greenrobot.greendao.annotation.Id;
|
import org.greenrobot.greendao.annotation.NotNull;
|
import org.greenrobot.greendao.annotation.Generated;
|
|
@Entity
|
public class Order {
|
@Id
|
private long id;
|
private String orderNo;
|
@NotNull
|
private String gridNo;
|
@NotNull
|
private int state;//状态;0-未存餐 1-已存餐 2-已取餐 3-取消
|
private long putInDate;
|
private String takeCode;
|
@Generated(hash = 2118332125)
|
public Order(long id, String orderNo, @NotNull String gridNo, int state,
|
long putInDate, String takeCode) {
|
this.id = id;
|
this.orderNo = orderNo;
|
this.gridNo = gridNo;
|
this.state = state;
|
this.putInDate = putInDate;
|
this.takeCode = takeCode;
|
}
|
@Generated(hash = 1105174599)
|
public Order() {
|
}
|
public long getId() {
|
return this.id;
|
}
|
public void setId(long id) {
|
this.id = id;
|
}
|
public String getOrderNo() {
|
return this.orderNo;
|
}
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
}
|
public String getGridNo() {
|
return this.gridNo;
|
}
|
public void setGridNo(String gridNo) {
|
this.gridNo = gridNo;
|
}
|
public int getState() {
|
return this.state;
|
}
|
public void setState(int state) {
|
this.state = state;
|
}
|
public long getPutInDate() {
|
return this.putInDate;
|
}
|
public void setPutInDate(long putInDate) {
|
this.putInDate = putInDate;
|
}
|
public String getTakeCode() {
|
return this.takeCode;
|
}
|
public void setTakeCode(String takeCode) {
|
this.takeCode = takeCode;
|
}
|
}
|