feat: memberIn增加充值类型type

This commit is contained in:
2024-10-28 09:48:45 +08:00
parent 2033d6c717
commit ea025bd023
3 changed files with 25 additions and 2 deletions

View File

@@ -3,6 +3,8 @@ package com.chaozhanggui.system.cashierservice.constant;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import java.util.Objects;
public interface TableConstant {
String CART_SEAT_ID = "-999";
@@ -64,5 +66,22 @@ public interface TableConstant {
}
}
class MemberIn {
@Getter
public enum Type {
NORMAL(0),
FREE_DINE(1);
private final Integer value;
Type(Integer value) {
this.value = value;
}
public boolean equalsVals(Integer value) {
return Objects.equals(this.value, value);
}
}
}
}