mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-01 18:07:44 +00:00
17 lines
391 B
Dart
17 lines
391 B
Dart
import 'package:hive/hive.dart';
|
|
|
|
part 'transaction_description.g.dart';
|
|
|
|
@HiveType(typeId: 2)
|
|
class TransactionDescription extends HiveObject {
|
|
TransactionDescription({this.id, this.recipientAddress});
|
|
|
|
static const boxName = 'TransactionDescriptions';
|
|
static const boxKey = 'transactionDescriptionsBoxKey';
|
|
|
|
@HiveField(0)
|
|
String id;
|
|
|
|
@HiveField(1)
|
|
String recipientAddress;
|
|
}
|