using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Threading.Tasks; using EveryThing.Models.Vehicle; namespace EveryThing.Models.CodeTable { public class CodeTableCountry { [Key] public int IdCountry { get; set; } [Required] [Display(Name = "Naziv")] public string Title { get; set; } [Required] [Display(Name = "Koda države")] public string Code { get; set; } [Required] [Display(Name = "Slovenski naziv")] public string TranslationSlovenian { get; set; } // Partner [InverseProperty("Country")] public virtual ICollection CountryPartner { get; set; } //Employee [InverseProperty("Citizenship")] public virtual ICollection CountryEmployeeCitizenship { get; set; } //Employee [InverseProperty("Country")] public virtual ICollection CountryEmployeeCountry { get; set; } //Employee [InverseProperty("TemporaryCountry")] public virtual ICollection CountryEmployeeTemporaryCountry { get; set; } //Company [InverseProperty("Country")] public virtual ICollection CountryCompany { get; set; } //VehicleFueling [InverseProperty("Country")] public virtual ICollection CountryVehicleFueling { get; set; } } }