using System.Collections.Generic; namespace NadekoBot.Core.Services.Database.Models { public class LogSetting : DbEntity { public HashSet IgnoredChannels { get; set; } = new HashSet(); public HashSet IgnoredVoicePresenceChannelIds { get; set; } = new HashSet(); public ulong? LogOtherId { get; set; } = null; public ulong? MessageUpdatedId { get; set; } = null; public ulong? MessageDeletedId { get; set; } = null; public ulong? UserJoinedId { get; set; } = null; public ulong? UserLeftId { get; set; } = null; public ulong? UserBannedId { get; set; } = null; public ulong? UserUnbannedId { get; set; } = null; public ulong? UserUpdatedId { get; set; } = null; public ulong? ChannelCreatedId { get; set; } = null; public ulong? ChannelDestroyedId { get; set; } = null; public ulong? ChannelUpdatedId { get; set; } = null; public ulong? UserMutedId { get; set; } //userpresence public ulong? LogUserPresenceId { get; set; } = null; //voicepresence public ulong? LogVoicePresenceId { get; set; } = null; public ulong? LogVoicePresenceTTSId { get; set; } = null; //-------------------DO NOT USE---------------- // these old fields are here because sqlite doesn't support drop column operation // will be removed after bot moves to another database provider /// /// DON'T USE /// public bool IsLogging { get; set; } /// /// DON'T USE /// public ulong ChannelId { get; set; } /// /// DON'T USE /// public bool MessageUpdated { get; set; } = true; /// /// DON'T USE /// public bool MessageDeleted { get; set; } = true; /// /// DON'T USE /// public bool UserJoined { get; set; } = true; /// /// DON'T USE /// public bool UserLeft { get; set; } = true; /// /// DON'T USE /// public bool UserBanned { get; set; } = true; /// /// DON'T USE /// public bool UserUnbanned { get; set; } = true; /// /// DON'T USE /// public bool UserUpdated { get; set; } = true; /// /// DON'T USE /// public bool ChannelCreated { get; set; } = true; /// /// DON'T USE /// public bool ChannelDestroyed { get; set; } = true; /// /// DON'T USE /// public bool ChannelUpdated { get; set; } = true; /// /// DON'T USE /// public bool LogUserPresence { get; set; } = false; /// /// DON'T USE /// public ulong UserPresenceChannelId { get; set; } /// /// DON'T USE /// public bool LogVoicePresence { get; set; } = false; /// /// DON'T USE /// public ulong VoicePresenceChannelId { get; set; } } }