Commit d60735e7 by 王宇航

1.7.7

新增字段isStop,isSoldOut區分是否暫停,是否售罄
parent 7f324c72
...@@ -55,7 +55,7 @@ afterEvaluate { ...@@ -55,7 +55,7 @@ afterEvaluate {
groupId = "com.gingersoft.connect" groupId = "com.gingersoft.connect"
artifactId = "Connect" artifactId = "Connect"
version = "1.7.6" version = "1.7.7"
// 添加 POM 配置 // 添加 POM 配置
// pom { // pom {
// name.set("GingerSoftConnect") // name.set("GingerSoftConnect")
......
...@@ -16,6 +16,15 @@ public class SoldOutFoodInfoBean extends SendMsgType { ...@@ -16,6 +16,15 @@ public class SoldOutFoodInfoBean extends SendMsgType {
* 库存數量 * 库存數量
*/ */
private String inventoryQuantity; private String inventoryQuantity;
/**
* 是否暫停
**/
private Boolean isStop;
/**
* 是否售罄
*/
private Boolean isSoldOut;
/** /**
* 食品金額 * 食品金額
*/ */
...@@ -47,6 +56,8 @@ public class SoldOutFoodInfoBean extends SendMsgType { ...@@ -47,6 +56,8 @@ public class SoldOutFoodInfoBean extends SendMsgType {
* 沽清時間 * 沽清時間
*/ */
private String soldOutTime; private String soldOutTime;
public static int YES = 1;
public static int NO = 2;
public String getFoodId() { public String getFoodId() {
return foodId; return foodId;
...@@ -127,4 +138,20 @@ public class SoldOutFoodInfoBean extends SendMsgType { ...@@ -127,4 +138,20 @@ public class SoldOutFoodInfoBean extends SendMsgType {
public void setSoldOutTime(String soldOutTime) { public void setSoldOutTime(String soldOutTime) {
this.soldOutTime = soldOutTime; this.soldOutTime = soldOutTime;
} }
public Boolean getStop() {
return isStop;
}
public void setStop(Boolean stop) {
isStop = stop;
}
public Boolean getSoldOut() {
return isSoldOut;
}
public void setSoldOut(Boolean soldOut) {
isSoldOut = soldOut;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment