29 lines
562 B
C#
29 lines
562 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace MarketData.MarketDataModel
|
|
{
|
|
public class PriceIndex
|
|
{
|
|
public String Code{get;set;}
|
|
public String Name{get;set;}
|
|
public double Value{get;set;}
|
|
public DateTime AsOf{get;set;}
|
|
public String Source{get;set;}
|
|
}
|
|
|
|
public class PriceIndices : List<PriceIndex>
|
|
{
|
|
public PriceIndices()
|
|
{
|
|
}
|
|
public PriceIndices(List<PriceIndex> priceIndices)
|
|
{
|
|
foreach(PriceIndex priceIndex in priceIndices)
|
|
{
|
|
Add(priceIndex);
|
|
}
|
|
}
|
|
}
|
|
}
|