using EveryThing.Models.Project; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace EveryThing.Models.CodeTable { public class CodeTableOperation { [Key] public int Id { get; set; } [Required] [Display(Name = "Naziv")] public string Title { get; set; } [Display(Name = "Privzeta operacija")] public bool Default { get; set; } [InverseProperty("Operation")] public virtual ICollection ProjectPartItemOperation { get; set; } } }