namespace Fast.Models;
public enum PriceIndexDetailType
{
    Daily = 0,
    Monthly = 1,
    Hybrid = 2
}

public class IndexAlias
{
    public int id { get; set; }
    public string aliasName { get; set; } = "";
    public int aliasTypeId { get; set; }
}

public class PriceIndexDetailItem
{
    public int id { get; set; }
    public string name { get; set; } = "";
    public List<IndexAlias> aliases { get; set; } = new();
    public PriceIndexDetailType indexType { get; set; }
    public int? commodityId { get; set; }
    public int classificationTypeId { get; set; }
    public int? publicationId { get; set; }
    public string description { get; set; } = "";
    public string notes { get; set; } = "";
    public string hybridFormula { get; set; } = "";
    public int? unitPriceId { get; set; }
    public int? forwardCurveId { get; set; }
}