Files
StockHistory/StockHistory/Models/EquityTemp.cs
2026-09-28 10:53:51 +02:00

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;
}