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 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) ); } }