using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.CompilerServices; namespace Filter.Database.Character { [Table("tCharacter")] public class tCharacter { public byte bDeleted { get; set; } public DateTime dCreateDate { get; set; } public DateTime dDeletedDate { get; set; } public DateTime dKQDate { get; set; } public DateTime dLastLoginDate { get; set; } public byte nAdminLevel { get; set; } public short nAP { get; set; } [Key] public int nCharNo { get; set; } public byte nConstitute { get; set; } public byte nCreateWorld { get; set; } public byte nDexterity { get; set; } public long nExp { get; set; } public int nFame { get; set; } public int nFlags { get; set; } public int nGS { get; set; } public short nHP { get; set; } public short nHPS { get; set; } public byte nIntelligence { get; set; } public byte nKQD { get; set; } public int nKQHandle { get; set; } public int nKQX { get; set; } public int nKQY { get; set; } public short nLevel { get; set; } public int nLoginCount { get; set; } public byte nLoginZoneD { get; set; } public int nLoginZoneX { get; set; } public int nLoginZoneY { get; set; } public byte nMentalPower { get; set; } public long nMoney { get; set; } public int nPKCount { get; set; } public byte nPKYellowTime { get; set; } public int nPlayMin { get; set; } public short nPrisonMin { get; set; } public int nPS { get; set; } public byte nRedistributePoint { get; set; } public byte nSlotNo { get; set; } public short nSP { get; set; } public short nSPS { get; set; } public byte nStrength { get; set; } public int nUserNo { get; set; } [Required] [StringLength(40)] public string sID { get; set; } [Required] [StringLength(16)] public string sKQMap { get; set; } [Required] [StringLength(16)] public string sLoginZone { get; set; } public virtual ICollection tGuildAcademyMembers { get; set; } public virtual ICollection tGuildAcademyMembers1 { get; set; } public tCharacter() { this.tGuildAcademyMembers = new HashSet(); this.tGuildAcademyMembers1 = new HashSet(); } } }