using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.CompilerServices; namespace Filter.Database.Account { public class tAccount { public DateTime dDate { get; set; } public int nAGPoints { get; set; } public int nAuthID { get; set; } public int nBonusAGPoints { get; set; } [DatabaseGenerated(DatabaseGeneratedOption.None)] [Key] public int nEMID { get; set; } [Required] [StringLength(100)] public string sEmail { get; set; } [Required] [StringLength(19)] public string sIP { get; set; } [Required] [StringLength(4000)] public string sNotes { get; set; } [Required] [StringLength(32)] public string sRID { get; set; } [Required] [StringLength(50)] public string sUsername { get; set; } [Required] [StringLength(100)] public string sUserPass { get; set; } [Required] [StringLength(50)] public string sUserPassSalt { get; set; } public tAccount() { } } }