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,44 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SecureBank.Database
{
public partial class AccountPassword
{
#region PROPERTIES
[Key]
public long Id { get; set; }
[Required]
[ForeignKey(nameof(Account))]
public int AccountId { get; set; }
[Required]
[MaxLength(1000)]
public byte[] Password { get; set; }
[Required]
[MaxLength(20)]
public string LeftSalt { get; set; }
[Required]
[MaxLength(20)]
public string RightSalt { get; set; }
#endregion
#region NAVIGATION
public Account Account { get; set; }
#endregion
}
}