using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Runtime.CompilerServices; namespace Filter.Database.Character { [Table("tGuild")] public class tGuild { public DateTime dCreateDate { get; set; } public DateTime dDismissDate { get; set; } public DateTime dNotifyDate { get; set; } public DateTime dWarEndDate { get; set; } public DateTime dWarRequestDate { get; set; } public DateTime dWarStartDate { get; set; } public byte nDismissStatus { get; set; } public long nExp { get; set; } public int nFame { get; set; } public byte nGrade { get; set; } public short nMaxMembers { get; set; } public long nMoney { get; set; } [Key] public int nNo { get; set; } public short nStoneLevel { get; set; } public byte nType { get; set; } public int nWarDrawCount { get; set; } public int nWarEnemy { get; set; } public int nWarLoseCount { get; set; } public int nWarWinCount { get; set; } [Required] [StringLength(128)] public string sIntro { get; set; } [Required] [StringLength(18)] public string sName { get; set; } [Required] [StringLength(512)] public string sNotify { get; set; } [Required] [StringLength(17)] public string sNotifyCharID { get; set; } [Required] [StringLength(10)] public string sPassword { get; set; } public virtual ICollection tGuildMembers { get; set; } public tGuild() { this.tGuildMembers = new HashSet(); } } }