12 lines
363 B
C#
12 lines
363 B
C#
namespace StockWebHistory.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;
|
|
}
|