This commit is contained in:
2024-01-19 17:25:56 +01:00
Unverified
parent ab9be442ee
commit 5d5a69ccf7
69 changed files with 3769 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecureBank.Database
{
public partial class Account
{
#region PROPERTIES
[Key]
public int Id { get; set; }
[Required]
[MaxLength(100)]
public string FirstName { get; set; }
[Required]
[MaxLength(100)]
public string LastName { get; set; }
[Required]
[MaxLength(300)]
public string Email { get; set; }
[Required]
[MaxLength(20)]
public string PhoneNumber { get; set; }
[Required]
public byte LoginFailedCount { get; set; } = 0;
[Required]
public bool TemporaryPassword { get; set; } = true;
[MaxLength(1000)]
public string? LockReason { get; set; } = null;
#endregion
#region NAVIGATION
public virtual ICollection<AccountPassword> AccountPasswords { get; set; }
#endregion
}
}