用户下单同步修改台桌状态
This commit is contained in:
@@ -1,6 +1,19 @@
|
||||
package com.chaozhanggui.system.cashierservice.constant;
|
||||
|
||||
public interface TableConstant {
|
||||
import lombok.Getter;
|
||||
|
||||
public interface TableConstant {
|
||||
String CART_SEAT_ID = "-999";
|
||||
|
||||
class ShopTable {
|
||||
@Getter
|
||||
public enum State {
|
||||
IDLE("idle"), CLOSED("closed"), PAYING("paying"), PENDING("pending"), USING("using"), CLEANING("cleaning");
|
||||
private final String value;
|
||||
|
||||
State(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user