mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-29 15:09:23 +00:00
23 lines
No EOL
412 B
Dart
23 lines
No EOL
412 B
Dart
import 'package:hive/hive.dart';
|
|
|
|
part 'template.g.dart';
|
|
|
|
@HiveType(typeId: Template.typeId)
|
|
class Template extends HiveObject {
|
|
Template({this.name, this.address, this.cryptoCurrency, this.amount});
|
|
|
|
static const typeId = 6;
|
|
static const boxName = 'Template';
|
|
|
|
@HiveField(0)
|
|
String name;
|
|
|
|
@HiveField(1)
|
|
String address;
|
|
|
|
@HiveField(2)
|
|
String cryptoCurrency;
|
|
|
|
@HiveField(3)
|
|
String amount;
|
|
} |