diff --git a/test/TestConsoleApp/Data/FinanceTransaction.cs b/test/TestConsoleApp/Data/FinanceTransaction.cs index f88072d..aaba5fb 100644 --- a/test/TestConsoleApp/Data/FinanceTransaction.cs +++ b/test/TestConsoleApp/Data/FinanceTransaction.cs @@ -22,7 +22,7 @@ namespace BlueWest.Data public partial struct FinanceTransaction { - public int Id { get; set; } + public int Id { get; } public int UserId { get; set; } public FinanceTransactionType FinanceTransactionType { get; } public FinanceSymbol FinanceSymbol { get; } diff --git a/test/TestConsoleApp/Data/User.cs b/test/TestConsoleApp/Data/User.cs index 0a0179e..6bd9905 100644 --- a/test/TestConsoleApp/Data/User.cs +++ b/test/TestConsoleApp/Data/User.cs @@ -18,7 +18,7 @@ namespace BlueWest.Data public double BTCAmount { get; set; } public double LTCAmount { get; set; } - public List FinanceTransactions { get; set; } + public List FinanceTransactions { get; } public User(int id, string name, string address, string btcAddress, string ltcAddress, double btcAmount, double ltcAmount, List financeTransactions) {