This commit is contained in:
2024-01-23 15:41:59 +01:00
Unverified
parent 5d5a69ccf7
commit 3b2b4c9b7e
76 changed files with 4100 additions and 888 deletions

View File

@@ -30,6 +30,37 @@ namespace SecureBank.Database
[MaxLength(20)]
public string PhoneNumber { get; set; }
[Required]
[MaxLength(500)]
public string Address { get; set; }
[Required]
[MaxLength(16)]
public byte[] PESEL { get; set; }
[Required]
[MaxLength(16)]
public byte[] IdCardNumber { get; set; }
[Required]
[MaxLength(26)]
public string IBAN { get; set; }
[Required]
[MaxLength(32)]
public byte[] CardNumber { get; set; }
[Required]
[MaxLength(16)]
public byte[] CardExpirationDate { get; set; }
[Required]
[MaxLength(16)]
public byte[] CardCVV { get; set; }
[Required]
public bool IsAdmin { get; set; } = false;
[Required]
public byte LoginFailedCount { get; set; } = 0;