cake_wallet/lib/entities/transaction_description.dart

18 lines
391 B
Dart
Raw Normal View History

2020-01-04 19:31:52 +00:00
import 'package:hive/hive.dart';
part 'transaction_description.g.dart';
2020-05-26 15:27:10 +00:00
@HiveType(typeId: 2)
2020-01-04 19:31:52 +00:00
class TransactionDescription extends HiveObject {
2020-01-08 12:26:34 +00:00
TransactionDescription({this.id, this.recipientAddress});
2020-01-04 19:31:52 +00:00
static const boxName = 'TransactionDescriptions';
2020-09-21 11:50:26 +00:00
static const boxKey = 'transactionDescriptionsBoxKey';
2020-01-04 19:31:52 +00:00
@HiveField(0)
String id;
@HiveField(1)
String recipientAddress;
2020-01-08 12:26:34 +00:00
}