API
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

Payment.cs 898B

123456789101112131415161718192021222324252627
  1. using System.ComponentModel.DataAnnotations.Schema;
  2. using UnivateProperties_API.Model.Properties;
  3. using UnivateProperties_API.Model.Timeshare;
  4. using UnivateProperties_API.Model.Users;
  5. namespace UnivateProperties_API.Model.Financial
  6. {
  7. public class Payment : BaseEntity
  8. {
  9. #region Properties
  10. [ForeignKey("TimeshareWeek")]
  11. public int? TimeshareWeekId { get; set; }
  12. [ForeignKey("Property")]
  13. public int? PropertyId { get; set; }
  14. [ForeignKey("CreatedBy")]
  15. public int CreatedById { get; set; }
  16. public decimal Amount { get; set; }
  17. public string PaymentStatus { get; set; }
  18. public string PaymentToken { get; set; }
  19. public virtual TimeshareWeek TimeshareWeek { get; set; }
  20. public virtual Property Property { get; set; }
  21. public virtual User CreatedBy { get; set; }
  22. #endregion
  23. }
  24. }