using Milimoe.FunGame.Core.Interface.Entity; namespace Milimoe.FunGame.Core.Entity { public class Club : BaseEntity { public DateTime CreateTime { get;set; } = DateTime.Now; public string Prefix { get; set; } = ""; public string Description { get; set; } = ""; public bool IsNeedApproval { get; set; } = false; public bool IsPublic { get; set; } = false; public double ClubPoins { get; set; } = 0; public User? Master { get; set; } public Dictionary Admins { get; set; } = []; public Dictionary Members { get; set; } = []; public Dictionary Applicants { get; set; } = []; public Dictionary MemberJoinTime { get; set; } = []; public Dictionary ApplicationTime { get; set; } = []; public override bool Equals(IBaseEntity? other) { return other is Club && other?.Id == Id; } } }