source: Application/Models/DatabaseModels/PaymentCard.cs

Last change on this file was f5f7c24, checked in by 192011 <mk.snicker@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 500 bytes
Line 
1using System;
2using System.Collections.Generic;
3
4namespace ocrent;
5
6public partial class PaymentCard
7{
8 public int CardId { get; set; }
9
10 public string CardNumber { get; set; } = null!;
11
12 public decimal Cvc { get; set; }
13
14 public DateOnly ValidThru { get; set; }
15
16 public string HolderName { get; set; } = null!;
17
18 public int? UserId { get; set; }
19
20 public virtual ICollection<Payment> Payments { get; } = new List<Payment>();
21
22 public virtual Client? User { get; set; }
23}
Note: See TracBrowser for help on using the repository browser.