12 lines
360 B
C#
12 lines
360 B
C#
namespace StockHistory.Models;
|
|
|
|
public class EquityTemp
|
|
{
|
|
public string StockCode { get; set; } = string.Empty;
|
|
public string StockISIN { get; set; } = string.Empty;
|
|
public DateTime Bought { get; set; }
|
|
public decimal BoughtPrice { get; set; }
|
|
public int Quantity { get; set; }
|
|
public decimal TotalValue => BoughtPrice * Quantity;
|
|
}
|