Add project files.
This commit is contained in:
22
StockDomain/DiTraderStockRow.cs
Normal file
22
StockDomain/DiTraderStockRow.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StockDomain
|
||||
{
|
||||
public class DiTraderStockRow
|
||||
{
|
||||
public string StockName { get; set; }
|
||||
public decimal ProcChange { get; set; }
|
||||
public decimal RealChange { get; set; }
|
||||
public decimal BuyPrice { get; set; }
|
||||
public decimal SellPrice { get; set; }
|
||||
public decimal LatestPrice { get; set; }
|
||||
public decimal HighestPrice { get; set; }
|
||||
public decimal LowestPrice { get; set; }
|
||||
public long Volume { get; set; }
|
||||
public TimeSpan TimeOfDay { get; set; }
|
||||
}
|
||||
}
|
||||
7
StockDomain/StockDomain.csproj
Normal file
7
StockDomain/StockDomain.csproj
Normal file
@ -0,0 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
25
StockDomain/StockMember.cs
Normal file
25
StockDomain/StockMember.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
|
||||
namespace StockDomain
|
||||
{
|
||||
public class StockMember
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string StockId { get; set; }
|
||||
public string StockExtId { get; set; }
|
||||
public decimal BuyValue { get; set; }
|
||||
public DateTime BuyDate { get; set; }
|
||||
public decimal ActValue { get; set; }
|
||||
public DateTime ActDate { get; set; }
|
||||
public long ActAmount { get; set; }
|
||||
public decimal SoldValue { get; set; }
|
||||
public DateTime? SoldDate { get; set; }
|
||||
// public string PostId { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public long PostAmount { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user