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.

PropertyContainer.cs 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace UnivateProperties_API.Containers.Property
  6. {
  7. public class PropertyContainer : Model.Properties.Property
  8. {
  9. public int UserId { get; set; }
  10. public string PropertyUsageType { get; set; }
  11. public List<NewImage> NewImages { get; set; }
  12. public List<PropertyFieldGroup> PropertyOverviewFields { get; set; }
  13. public List<PropertyFieldGroup> PropertyFields { get; set; }
  14. }
  15. public class PropertyFieldGroup
  16. {
  17. public string Name { get; set; }
  18. public List<PropertyFieldEdit> Fields { get; set; }
  19. }
  20. public class PropertyFieldEdit
  21. {
  22. public int Id { get; set; }
  23. public string Name { get; set; }
  24. public string Type { get; set; }
  25. public string Value { get; set; }
  26. public int ItemId { get; set; }
  27. }
  28. public class NewPropertyImages
  29. {
  30. public int PropertyId { get; set; }
  31. public List<NewImage> Images { get; set; }
  32. }
  33. public class NewImage
  34. {
  35. public string Image { get; set; }
  36. public bool IsDefault { get; set; }
  37. }
  38. }