passo_mobile_app/lib/model/offline/offlane_modules.dart

18 lines
529 B
Dart
Raw Permalink Normal View History

2023-10-06 04:43:37 +00:00
import 'package:hive/hive.dart';
import 'package:unit2/model/login_data/user_info/module.dart';
import '../login_data/user_info/module_object.dart';
part 'offlane_modules.g.dart';
@HiveType(typeId: 4)
class OfflineModules {
@HiveField(0)
final String roleName;
@HiveField(1)
final String moduleName;
@HiveField(2)
final ModuleObject object;
@HiveField(3)
final int roleId;
const OfflineModules(
{required this.moduleName, required this.object, required this.roleName,required this.roleId});
}