selfprivacy.org.app/lib/logic/models/cloudflare_domain.dart

20 lines
328 B
Dart
Raw Normal View History

2021-01-06 17:35:57 +00:00
import 'package:hive/hive.dart';
part 'cloudflare_domain.g.dart';
@HiveType(typeId: 3)
class CloudFlareDomain {
2021-01-21 07:35:38 +00:00
CloudFlareDomain({this.domainName, this.zoneId});
2021-01-06 17:35:57 +00:00
@HiveField(0)
2021-03-15 15:39:44 +00:00
final String? domainName;
2021-01-06 17:35:57 +00:00
@HiveField(1)
2021-03-15 15:39:44 +00:00
final String? zoneId;
2021-01-06 17:35:57 +00:00
@override
String toString() {
2021-01-21 07:35:38 +00:00
return '$domainName: $zoneId';
2021-01-06 17:35:57 +00:00
}
}