2024-03-18 13:23:58 +08:00
|
|
|
enum BackActionEnum {
|
|
|
|
refresh,
|
|
|
|
}
|
|
|
|
|
|
|
|
enum LoginEnum { apple, fastLogin }
|
2024-03-21 16:22:00 +08:00
|
|
|
|
|
|
|
enum InventoryInOrOutEnum { In, Out }
|
|
|
|
|
|
|
|
// 创建一个映射,将 InventoryInOrOutEnum 值与整数关联起来
|
|
|
|
const Map<InventoryInOrOutEnum, int> InventoryInOrOutEnumValues = {
|
|
|
|
InventoryInOrOutEnum.In: 1,
|
|
|
|
InventoryInOrOutEnum.Out: 2,
|
|
|
|
};
|