You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
584 B
35 lines
584 B
import 'package:hive/hive.dart';
|
|
|
|
part 'exchange_template.g.dart';
|
|
|
|
@HiveType(typeId: 7)
|
|
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;
|
|
} |