2024-12-09 09:05:56 +00:00
|
|
|
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';
|
2024-12-09 09:05:56 +00:00
|
|
|
|
|
|
|
@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-09 09:05:56 +00:00
|
|
|
|
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});
|
2024-12-09 09:05:56 +00:00
|
|
|
}
|