//------------------------------------------------------------------------------
// <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 TMapi.Models
{
    using System;
    using System.Collections.Generic;
    
    public partial class SPEC
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public SPEC()
        {
            this.EQUIPMENT_SPEC = new HashSet<EQUIPMENT_SPEC>();
            this.SPEC1 = new HashSet<SPEC>();
        }
    
        public int SPECID { get; set; }
        public string DESCRIPTION { get; set; }
        public string PRINTDESC { get; set; }
        public int SPECTYPEID { get; set; }
        public Nullable<int> CATEGORYID { get; set; }
        public Nullable<int> PARENTSPECID { get; set; }
        public string ACTIVE { get; set; }
        public Nullable<int> ORDERBY { get; set; }
    
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<EQUIPMENT_SPEC> EQUIPMENT_SPEC { get; set; }
        public virtual SPECTYPE SPECTYPE { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<SPEC> SPEC1 { get; set; }
        public virtual SPEC SPEC2 { get; set; }
    }
}
