用户下单同步修改台桌状态

This commit is contained in:
2024-10-25 10:27:11 +08:00
parent a8e9924f74
commit 0334d88a4f
8 changed files with 112 additions and 9 deletions

View File

@@ -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;
}
}
}
}