API
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

PropertyDisplay.cs 1.0KB

1234567891011121314151617181920212223242526272829303132
  1. namespace UnivateProperties_API.Containers.Property
  2. {
  3. public class PropertyDisplay
  4. {
  5. #region Properties
  6. public int Id { get; set; }
  7. public string ShortDescription { get; set; }
  8. public bool IsSale { get; set; }
  9. public string DisplayPrice { get; set; }
  10. public string Area { get; set; }
  11. public string Beds { get; set; }
  12. public string Baths { get; set; }
  13. public string Garages { get; set; }
  14. public bool ShowFooter
  15. {
  16. get
  17. {
  18. bool showFooter = true;
  19. if (string.IsNullOrEmpty(Area) && string.IsNullOrEmpty(Beds) && string.IsNullOrEmpty(Baths) && string.IsNullOrEmpty(Garages))
  20. showFooter = false;
  21. return showFooter;
  22. }
  23. }
  24. public string Province { get; set; }
  25. public string City { get; set; }
  26. public string Suburb { get; set; }
  27. public string DisplayImage { get; set; }
  28. #endregion
  29. }
  30. }