//------------------------------------------------------------------------------
// <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 EQUIPMENTFIELD
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public EQUIPMENTFIELD()
        {
            this.EQUIPMENT_SPEC = new HashSet<EQUIPMENT_SPEC>();
            this.SPECTYPEs = new HashSet<SPECTYPE>();
        }
    
        public int EQUIPMENTFIELDID { get; set; }
        public int CLASSID { get; set; }
        public string FIELDNAME { get; set; }
        public string PRINTSUFFIX { get; set; }
        public int FIELDTYPEID { get; set; }
        public Nullable<int> FIELDLENGTH { get; set; }
        public Nullable<int> FIELDPRECISION { get; set; }
        public string ALLOWNULLS { get; set; }
        public string OPTIONS { get; set; }
        public string SHOWONLIST { get; set; }
        public int ORDERBY { get; set; }
        public int FIELDGROUPID { get; set; }
        public Nullable<int> PRINTORDERBY { get; set; }
        public string ACTIVE { get; set; }
        public string PRINTPREFIX { get; set; }
        public string PRINTWHENEMPTY { get; set; }
        public string MAJORSPEC { get; set; }
        public string CHANGECARD { get; set; }
        public string CHANGELABEL { get; set; }
        public int CHILDFIELDID { get; set; }
    
        public virtual EQPCLA EQPCLA { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<EQUIPMENT_SPEC> EQUIPMENT_SPEC { get; set; }
        public virtual FIELDGROUP FIELDGROUP { get; set; }
        public virtual FIELDTYPE FIELDTYPE { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<SPECTYPE> SPECTYPEs { get; set; }
    }
}
