API
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

PropertyContainer.cs 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 string StatusCode { get; set; }
  19. public List<NewImage> NewImages { get; set; }
  20. public List<PropertyFieldGroup> PropertyOverviewFields { get; set; }
  21. public List<PropertyFieldGroup> PropertyFields { get; set; }
  22. }
  23. public class PropertyFieldGroup
  24. {
  25. public string Name { get; set; }
  26. public List<PropertyFieldEdit> Fields { get; set; }
  27. }
  28. public class PropertyFieldEdit
  29. {
  30. public int Id { get; set; }
  31. public string Name { get; set; }
  32. public string Type { get; set; }
  33. public string Value { get; set; }
  34. public int ItemId { get; set; }
  35. }
  36. public class NewPropertyImages
  37. {
  38. public int PropertyId { get; set; }
  39. public List<NewImage> Images { get; set; }
  40. }
  41. public class NewImage
  42. {
  43. public string Image { get; set; }
  44. public bool IsDefault { get; set; }
  45. }
  46. public class PropertyImageContainer
  47. {
  48. public int PropertyId { get; set; }
  49. public List<PropertyImage> Images { get; set; }
  50. }
  51. public class PropertyAdminContainer
  52. {
  53. public int Id { get; set; }
  54. public string Owner { get; set; }
  55. public string Property { get; set; }
  56. public string Reference { get; set; }
  57. public string Unit { get; set; }
  58. public string Size { get; set; }
  59. public decimal Price { get; set; }
  60. public string Region { get; set; }
  61. public string Town { get; set; }
  62. public string Suburb { get; set; }
  63. public string Status { get; set; }
  64. public string Type { get; set; }
  65. public bool IsPublished { get; set; }
  66. }
  67. }