bulletboards/ImageBoardServerApp/Data/AccountData.cs

21 lines
469 B
C#
Raw Normal View History

2023-01-18 12:56:24 +00:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace ImageBoardServerApp.Data;
public class AccountData
{
[Required]
[DatabaseGenerated((DatabaseGeneratedOption.Identity))]
[Key]
public int AccountID { get; set; }
[Required]
public string Email { get; set; }
[Required]
public string Password { get; set; }
2023-01-19 12:00:30 +00:00
[Required]
public int PermissionInteger { get; set; }
2023-01-18 12:56:24 +00:00
}