stack_wallet/lib/models/isar/models/transaction_note.dart
2023-05-27 00:21:16 +03:00

32 lines
618 B
Dart

/*
* This file is part of Stack Wallet.
*
* Copyright (c) 2023 Cypher Stack
* All Rights Reserved.
* The code is distributed under GPLv3 license, see LICENSE file for details.
* Generated by Cypher Stack on 2023-05-26
*
*/
import 'package:isar/isar.dart';
part 'transaction_note.g.dart';
@Collection()
class TransactionNote {
TransactionNote({
required this.walletId,
required this.txid,
required this.value,
});
Id id = Isar.autoIncrement;
@Index()
late String walletId;
@Index(unique: true, composite: [CompositeIndex("walletId")])
late String txid;
late String value;
}