using System.ComponentModel.DataAnnotations.Schema; namespace UnivateProperties_API.Model.Properties { public class PropertyImage : BaseEntity { #region Properties [ForeignKey("Property")] public int PropertyId { get; set; } public string Image { get; set; } public bool IsDefault { get; set; } public virtual Property Property { get; set; } #endregion } }