using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace  Back.Data.Models
{
    public class Fild
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int ID { get; set; }
        public string Name { get; set; }
        public string Type { get; set; }
        public string Title { get; set; }
        public string InputBox { get; set; }

        #region Navigation
        public virtual ICollection<FildModeInPattern> FildModeInPatterns { get; set; }
       public virtual ICollection<Coding> Codings { get; set; }
        [NotMapped]
        public ICollection<SpecialCondition> specialConditions { get; set; }
        #endregion

    }
}
