mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-18 10:11:00 +00:00
35 lines
575 B
Dart
35 lines
575 B
Dart
|
import 'package:hive/hive.dart';
|
||
|
|
||
|
part 'exchange_template.g.dart';
|
||
|
|
||
|
@HiveType()
|
||
|
class ExchangeTemplate extends HiveObject {
|
||
|
ExchangeTemplate({
|
||
|
this.amount,
|
||
|
this.depositCurrency,
|
||
|
this.receiveCurrency,
|
||
|
this.provider,
|
||
|
this.depositAddress,
|
||
|
this.receiveAddress
|
||
|
});
|
||
|
|
||
|
static const boxName = 'ExchangeTemplate';
|
||
|
|
||
|
@HiveField(0)
|
||
|
String amount;
|
||
|
|
||
|
@HiveField(1)
|
||
|
String depositCurrency;
|
||
|
|
||
|
@HiveField(2)
|
||
|
String receiveCurrency;
|
||
|
|
||
|
@HiveField(3)
|
||
|
String provider;
|
||
|
|
||
|
@HiveField(4)
|
||
|
String depositAddress;
|
||
|
|
||
|
@HiveField(5)
|
||
|
String receiveAddress;
|
||
|
}
|