mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-08 09:53:12 +00:00
23 lines
357 B
Dart
23 lines
357 B
Dart
import 'package:hive/hive.dart';
|
|
|
|
part 'cloudflare_domain.g.dart';
|
|
|
|
@HiveType(typeId: 3)
|
|
class CloudFlareDomain {
|
|
CloudFlareDomain({
|
|
required this.domainName,
|
|
required this.zoneId,
|
|
});
|
|
|
|
@HiveField(0)
|
|
final String domainName;
|
|
|
|
@HiveField(1)
|
|
final String zoneId;
|
|
|
|
@override
|
|
String toString() {
|
|
return '$domainName: $zoneId';
|
|
}
|
|
}
|