feat : buy in province all

This commit is contained in:
2025-07-16 11:47:51 +03:30
parent f1b2e20056
commit 6d5f918fbb
21 changed files with 1304 additions and 419 deletions

View File

@@ -1,9 +1,9 @@
import 'package:rasadyar_auth/auth.dart';
import 'package:rasadyar_core/core.dart';
import 'package:rasadyar_core/utils/local/local_utils.dart';
part 'user_local_model.g.dart';
@HiveType(typeId: 0)
@HiveType(typeId: authUserLocalModelTypeId)
class UserLocalModel extends HiveObject {
@HiveField(0)
String? username;
@@ -45,7 +45,6 @@ class UserLocalModel extends HiveObject {
Module? module,
String? backend,
String? apiKey,
}) {
return UserLocalModel(
username: username ?? this.username,
@@ -60,7 +59,7 @@ class UserLocalModel extends HiveObject {
}
}
@HiveType(typeId: 1)
@HiveType(typeId: authModuleTypeId)
enum Module {
@HiveField(0)
liveStocks,