using System.ComponentModel.DataAnnotations.Schema; namespace UnivateProperties_API.Model.Region { public class City :BaseEntity { #region Properties [ForeignKey("Province")] public int ProvinceId { get; set; } public string Description { get; set; } public string Code { get; set; } public virtual Province Province { get; set; } #endregion } }