diff --git a/Hammer/Data/HammerContext.cs b/Hammer/Data/HammerContext.cs index c007624..b31f9b9 100644 --- a/Hammer/Data/HammerContext.cs +++ b/Hammer/Data/HammerContext.cs @@ -21,64 +21,64 @@ public HammerContext(HammerPlugin plugin) } /// - /// Gets or sets the set of users who are blocked from making reports. + /// Gets the set of users who are blocked from making reports. /// /// The set of blocked reporters. - public DbSet BlockedReporters { get; set; } = null!; // assigned when context is created + public DbSet BlockedReporters { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of infractions. + /// Gets the set of infractions. /// /// The set of infractions. - public DbSet Infractions { get; set; } = null!; // assigned when context is created + public DbSet Infractions { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of join/leave events for a tracked user. + /// Gets the set of join/leave events for a tracked user. /// /// The set of join/leave events. - public DbSet JoinLeaves { get; set; } = null!; // assigned when context is created + public DbSet JoinLeaves { get; private set; } = null!; // assigned when context is created /// /// Gets the set of member notes. /// /// The set of member notes. - public DbSet MemberNotes { get; } = null!; // assigned when context is created + public DbSet MemberNotes { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of message edits. + /// Gets the set of message edits. /// /// The set of message edits. - public DbSet MessageEdits { get; set; } = null!; // assigned when context is created + public DbSet MessageEdits { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of reported messages. + /// Gets the set of reported messages. /// /// The set of reported messages. - public DbSet ReportedMessages { get; set; } = null!; // assigned when context is created + public DbSet ReportedMessages { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of rules. + /// Gets the set of rules. /// /// The set of rules. - public DbSet Rules { get; set; } = null!; // assigned when context is created + public DbSet Rules { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of staff messages. + /// Gets the set of staff messages. /// /// The set of staff messages. - public DbSet StaffMessages { get; set; } = null!; // assigned when context is created + public DbSet StaffMessages { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of tracked messages. + /// Gets the set of tracked messages. /// /// The set of tracked messages. - public DbSet TrackedMessages { get; set; } = null!; // assigned when context is created + public DbSet TrackedMessages { get; private set; } = null!; // assigned when context is created /// - /// Gets or sets the set of tracked users. + /// Gets the set of tracked users. /// /// The set of tracked users. - public DbSet TrackedUsers { get; set; } = null!; // assigned when context is created + public DbSet TrackedUsers { get; private set; } = null!; // assigned when context is created /// protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)