36 lines
695 B
C#
36 lines
695 B
C#
|
|
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 class AccountLoginRequest
|
|||
|
|
{
|
|||
|
|
#region PROPERTIES
|
|||
|
|
|
|||
|
|
[Key]
|
|||
|
|
public Guid Id { get; set; }
|
|||
|
|
|
|||
|
|
[Required]
|
|||
|
|
[ForeignKey(nameof(AccountPassword))]
|
|||
|
|
public long AccountPasswordId { get; set; }
|
|||
|
|
|
|||
|
|
[Required]
|
|||
|
|
public DateTime ValidTo { get; set; }
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
#region NAVIGATION
|
|||
|
|
|
|||
|
|
public AccountPassword AccountPassword { get; set; }
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|