API
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

PropertyContainer.cs 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using UnivateProperties_API.Model.Properties;
  6. namespace UnivateProperties_API.Containers.Property
  7. {
  8. public class PropertyContainer : Model.Properties.Property
  9. {
  10. public string DateAvailableString { get; set; }
  11. public string StatusString { get; set; }
  12. public string SalesTypeString { get; set; }
  13. public int UserId { get; set; }
  14. public string PropertyUsageType { get; set; }
  15. public decimal OldPrice { get; set; }
  16. public string OldStatus { get; set; }
  17. public string CutOffDisplayDateString { get; set; }
  18. public List<NewImage> NewImages { get; set; }
  19. public List<PropertyFieldGroup> PropertyOverviewFields { get; set; }
  20. public List<PropertyFieldGroup> PropertyFields { get; set; }
  21. }
  22. public class PropertyFieldGroup
  23. {
  24. public string Name { get; set; }
  25. public List<PropertyFieldEdit> Fields { get; set; }
  26. }
  27. public class PropertyFieldEdit
  28. {
  29. public int Id { get; set; }
  30. public string Name { get; set; }
  31. public string Type { get; set; }
  32. public string Value { get; set; }
  33. public int ItemId { get; set; }
  34. }
  35. public class NewPropertyImages
  36. {
  37. public int PropertyId { get; set; }
  38. public List<NewImage> Images { get; set; }
  39. }
  40. public class NewImage
  41. {
  42. public string Image { get; set; }
  43. public bool IsDefault { get; set; }
  44. }
  45. public class PropertyImageContainer
  46. {
  47. public int PropertyId { get; set; }
  48. public List<PropertyImage> Images { get; set; }
  49. }
  50. public class PropertyAdminContainer
  51. {
  52. public int Id { get; set; }
  53. public string Owner { get; set; }
  54. public string Property { get; set; }
  55. public string Reference { get; set; }
  56. public string Unit { get; set; }
  57. public string Size { get; set; }
  58. public decimal Price { get; set; }
  59. public string Region { get; set; }
  60. public string Town { get; set; }
  61. public string Suburb { get; set; }
  62. public string Status { get; set; }
  63. public string Type { get; set; }
  64. public bool IsPublished { get; set; }
  65. }
  66. }