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 = {
|
2024-03-22 17:26:57 +08:00
|
|
|
InventoryInOrOutEnum.In: 0,
|
|
|
|
InventoryInOrOutEnum.Out: 1,
|
2024-03-21 16:22:00 +08:00
|
|
|
};
|