KonectarApp/lib/model/hive_api_constants.dart

25 lines
532 B
Dart
Raw Normal View History

import 'package:hive_flutter/hive_flutter.dart';
import 'package:konectar_events/utils/hivetypeids.dart';
2024-12-10 09:36:43 +00:00
part 'hive_api_constants.g.dart';
@HiveType(typeId: HiveTypeIdConstants.hiveApiConstantsId)
class HiveApiConstants {
@HiveField(0)
String? functionName;
@HiveField(1)
int? interval;
2024-12-10 09:36:43 +00:00
@HiveField(2)
String? method;
@HiveField(3)
String? module;
2024-12-19 05:21:33 +00:00
@HiveField(4)
String? hivename;
2024-12-10 09:36:43 +00:00
HiveApiConstants(
2024-12-19 05:21:33 +00:00
{this.functionName,
this.interval,
this.method,
this.module,
this.hivename});
}