cake_wallet/lib/entities/template.dart

23 lines
412 B
Dart
Raw Normal View History

import 'package:hive/hive.dart';
part 'template.g.dart';
2021-01-15 17:41:30 +00:00
@HiveType(typeId: Template.typeId)
class Template extends HiveObject {
Template({this.name, this.address, this.cryptoCurrency, this.amount});
2021-01-15 17:41:30 +00:00
static const typeId = 6;
static const boxName = 'Template';
@HiveField(0)
String name;
@HiveField(1)
String address;
@HiveField(2)
String cryptoCurrency;
@HiveField(3)
String amount;
}