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.

TimeshareWeekDto.cs 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using JetBrains.Annotations;
  2. using Org.BouncyCastle.Asn1.Mozilla;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Threading.Tasks;
  7. using UnivateProperties_API.Model.Misc;
  8. using UnivateProperties_API.Model.Timeshare;
  9. namespace UnivateProperties_API.Containers.Timeshare
  10. {
  11. public class TimeshareWeekDto : TimeshareWeek
  12. {
  13. public OwnerObject OwnerObject { get; set; }
  14. }
  15. public class OwnerObject
  16. {
  17. public int Id { get; set; }
  18. public string Name { get; set; }
  19. public string Surname { get; set; }
  20. public string IdNumber { get; set; }
  21. public string CompanyRegNumber { get; set; }
  22. public string MaritalStatus { get; set; }
  23. public string EmailAddress { get; set; }
  24. public string CellNumber { get; set; }
  25. public string LandlineNumber { get; set; }
  26. public string SpouseName { get; set; }
  27. public string SpouseSurname { get; set; }
  28. public string SpouseEmail { get; set; }
  29. public string SpouseTelephone { get; set; }
  30. public string SpouseCellnumber { get; set; }
  31. public OwnerAddress Address { get; set; }
  32. public OnwerBankingDetails BankingDetails { get; set; }
  33. public bool IsAgent { get; set; }
  34. }
  35. public class OwnerAddress
  36. {
  37. public int Id { get; set; }
  38. public string StreetNumber { get; set; }
  39. public string Street { get; set; }
  40. public string Suburb { get; set; }
  41. public string City { get; set; }
  42. public string Province { get; set; }
  43. public string PostalCode { get; set; }
  44. }
  45. public class OnwerBankingDetails
  46. {
  47. public int Id { get; set; }
  48. public string AccountNumber { get; set; }
  49. public string AccountHolder { get; set; }
  50. public OwnerBank Bank { get; set; }
  51. }
  52. public class OwnerBank
  53. {
  54. public string Name { get; set; }
  55. public string UniversalBranchCode { get; set; }
  56. public int Id { get; set; }
  57. }
  58. }