mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-25 12:59:24 +00:00
32 lines
618 B
Dart
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;
|
|
}
|