//------------------------------------------------------------------------------
// <auto-generated>
//    This code was generated from a template.
//
//    Manual changes to this file may cause unexpected behavior in your application.
//    Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace KendoWithChart.Models
{
    using System;
    using System.Collections.Generic;
    
    public partial class COUNTERPARTY
    {
        public COUNTERPARTY()
        {
            this.CREDIT_PARAMETER = new HashSet<CREDIT_PARAMETER>();
            this.POSITIONs = new HashSet<POSITION>();
            this.POSITION_2 = new HashSet<POSITION_2>();
            this.COUNTERPARTY_RATING = new HashSet<COUNTERPARTY_RATING>();
        }
    
        public decimal COUNTERPARTY_ID { get; set; }
        public string COUNTERPARTY_NAME { get; set; }
        public string COUNTERPARTY_SHORT_NAME { get; set; }
        public Nullable<decimal> SPN_ID { get; set; }
        public string CREATE_USER_ID { get; set; }
        public Nullable<System.DateTime> CREATE_TIMESTAMP { get; set; }
        public string UPDATE_USER_ID { get; set; }
        public Nullable<System.DateTime> UPDATE_TIMESTAMP { get; set; }
        public Nullable<decimal> PRODUCT_ID { get; set; }
        public string BROKER_COUNTERPARTY_FLAG { get; set; }
        public string BLOOMBERG_COUNTERPARTY_NAME { get; set; }
        public string COLLINE_COUNTERPARTY_NAME { get; set; }
        public string VALID_DATA_FLAG { get; set; }
    
        public virtual ICollection<CREDIT_PARAMETER> CREDIT_PARAMETER { get; set; }
        public virtual ICollection<POSITION> POSITIONs { get; set; }
        public virtual ICollection<POSITION_2> POSITION_2 { get; set; }
        public virtual ICollection<COUNTERPARTY_RATING> COUNTERPARTY_RATING { get; set; }
    }
}
