API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PropertyImage.cs 431B

123456789101112131415
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. namespace UnivateProperties_API.Model.Properties
  3. {
  4. public class PropertyImage : BaseEntity
  5. {
  6. #region Properties
  7. [ForeignKey("Property")]
  8. public int PropertyId { get; set; }
  9. public string Image { get; set; }
  10. public bool IsDefault { get; set; }
  11. public virtual Property Property { get; set; }
  12. #endregion
  13. }
  14. }