Payment.cs 505 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MyMoviesWPF
  4. {
  5. public partial class Payment
  6. {
  7. public Payment()
  8. {
  9. Orders = new HashSet<Order>();
  10. }
  11. public int Idpayment { get; set; }
  12. public string PaymentType { get; set; } = null!;
  13. public decimal Sum { get; set; }
  14. public DateTime? Date { get; set; }
  15. public string? Status { get; set; }
  16. public virtual ICollection<Order> Orders { get; set; }
  17. }
  18. }