File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
DatabaseProjectAPI/Entities Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 44 public class Stock
55 {
66 [ Key ]
7+ [ Column ( "stock_id" ) ]
78 public int StockId { get ; set ; }
89 public string ? Symbol { get ; set ; }
910 public decimal OpenValue { get ; set ; }
Original file line number Diff line number Diff line change 44 public class StockHistory
55 {
66 [ Key ]
7+ [ Column ( "history_id" ) ]
78 public int HistoryId { get ; set ; }
9+ [ Column ( "stock_id" ) ]
810 public int StockId { get ; set ; }
11+ [ Column ( "timestamp" ) ]
912 public DateTime Timestamp { get ; set ; }
13+ [ Column ( "opened_value" ) ]
1014 public decimal OpenedValue { get ; set ; }
15+ [ Column ( "closed_value" ) ]
1116 public decimal ClosedValue { get ; set ; }
17+ [ Column ( "Symbol" ) ]
1218 public string Symbol { get ; set ; }
1319 [ ForeignKey ( "StockId" ) ]
1420 public Stock Stock { get ; set ; }
You can’t perform that action at this time.
0 commit comments