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 FildModeInPatterns { get; set; } public virtual ICollection Codings { get; set; } public virtual ICollection Conditions { get; set; } [NotMapped] public ICollection specialConditions { get; set; } #endregion } }