EDBGS/EDPlayerJournal/BGS/IncompleteTransaction.cs

17 lines
465 B
C#
Raw Normal View History

using EDPlayerJournal.Entries;
namespace EDPlayerJournal.BGS;
public class IncompleteTransaction : Transaction {
2022-11-01 18:01:28 +01:00
public Transaction? UnderlyingTransaction { get; set; } = null;
public string Reason { get; set; } = "";
public IncompleteTransaction() { }
public IncompleteTransaction(Transaction? underlying, string reason, Entry entry) {
2022-11-01 18:01:28 +01:00
UnderlyingTransaction = underlying;
Reason = reason;
Entries.Add(entry);
2022-11-01 18:01:28 +01:00
}
}