API
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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. }