mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
dev: Added cascade deletes to any tables which have guildconfigs FK, as well as to some other missing places
13 lines
395 B
C#
13 lines
395 B
C#
namespace NadekoBot.Db.Models;
|
|
|
|
#nullable disable
|
|
public class AntiSpamSetting : DbEntity
|
|
{
|
|
public int GuildConfigId { get; set; }
|
|
|
|
public PunishmentAction Action { get; set; }
|
|
public int MessageThreshold { get; set; } = 3;
|
|
public int MuteTime { get; set; }
|
|
public ulong? RoleId { get; set; }
|
|
public HashSet<AntiSpamIgnore> IgnoredChannels { get; set; } = new();
|
|
} |