using SqlKata; namespace PluralKit.Core; public class GuildPatch: PatchObject { public Partial LogChannel { get; set; } public Partial LogBlacklist { get; set; } public Partial Blacklist { get; set; } public Partial LogCleanupEnabled { get; set; } public Partial InvalidCommandResponseEnabled { get; set; } public Partial RequireSystemTag { get; set; } public Partial SuppressNotifications { get; set; } public override Query Apply(Query q) => q.ApplyPatch(wrapper => wrapper .With("log_channel", LogChannel) .With("log_blacklist", LogBlacklist) .With("blacklist", Blacklist) .With("log_cleanup_enabled", LogCleanupEnabled) .With("invalid_command_response_enabled", InvalidCommandResponseEnabled) .With("require_system_tag", RequireSystemTag) .With("suppress_notifications", SuppressNotifications) ); }