//------------------------------------------------------------------------------
// <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 ERD
{
    using System;
    using System.Collections.Generic;
    
    public partial class TblPromotionType
    {
        public TblPromotionType()
        {
            this.TblPromotions = new HashSet<TblPromotion>();
            this.TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures = new HashSet<TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures>();
        }
    
        public int OID { get; set; }
        public string Description { get; set; }
        public Nullable<int> ContractDuration { get; set; }
        public Nullable<int> PaymentDuration { get; set; }
        public Nullable<int> DefaultContractType { get; set; }
        public Nullable<int> OptimisticLockField { get; set; }
        public Nullable<int> GCRecord { get; set; }
        public Nullable<int> SCV2PaymentDuration { get; set; }
    
        public virtual ICollection<TblPromotion> TblPromotions { get; set; }
        public virtual ICollection<TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures> TblPromotionTypePromotionTypes_TblPromotionCommissionStructurePromotionCommissionStructures { get; set; }
    }
}
