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.

TimeshareWeek.cs 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. using System;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using UnivateProperties_API.Model.Region;
  4. using UnivateProperties_API.Model.Users;
  5. namespace UnivateProperties_API.Model.Timeshare
  6. {
  7. public class TimeshareWeek : BaseEntity
  8. {
  9. #region Properties
  10. public bool ReferedByAgent { get; set; }
  11. [ForeignKey("Agent")]
  12. public int AgentId { get; set; }
  13. [ForeignKey("Agency")]
  14. public int AgencyId { get; set; }
  15. [ForeignKey("UnitConfiguration")]
  16. public int UnitConfigurationId { get; set; }
  17. public bool OtherResort { get; set; }
  18. public string ResortCode { get; set; }
  19. public string ResortName { get; set; }
  20. [ForeignKey("Region")]
  21. public int RegionId { get; set; }
  22. public string Season { get; set; }
  23. public string Module { get; set; }
  24. public string WeekNumber { get; set; }
  25. public double LevyAmount { get; set; }
  26. public bool CurrentYearBanked { get; set; }
  27. public string BankedWith { get; set; }
  28. public bool LeviesPaidInFull { get; set; }
  29. public bool WeekPlacedForRental { get; set; }
  30. public double OriginalPurchasePrice { get; set; }
  31. public DateTime OriginalPurchaseDate { get; set; }
  32. public DateTime ArrivalDate { get; set; }
  33. public DateTime DepartureDate { get; set; }
  34. [ForeignKey("Status")]
  35. public int StatusId { get; set; }
  36. #endregion
  37. #region Navigation
  38. public virtual Status Status { get; set; }
  39. public virtual Province Region { get; set; }
  40. public virtual Agent Agent { get; set; }
  41. public virtual Agency Agency { get; set; }
  42. public virtual UnitConfiguration UnitConfiguration { get; set; }
  43. #endregion Navigation
  44. }
  45. }