mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-17 22:29:15 +00:00
20 lines
308 B
Dart
20 lines
308 B
Dart
|
import 'package:hive/hive.dart';
|
||
|
|
||
|
part 'cloudflare_domain.g.dart';
|
||
|
|
||
|
@HiveType(typeId: 3)
|
||
|
class CloudFlareDomain {
|
||
|
CloudFlareDomain({this.name, this.zoneId});
|
||
|
|
||
|
@HiveField(0)
|
||
|
final String name;
|
||
|
|
||
|
@HiveField(1)
|
||
|
final String zoneId;
|
||
|
|
||
|
@override
|
||
|
String toString() {
|
||
|
return '$name: $zoneId';
|
||
|
}
|
||
|
}
|