fix(domain): make AuditLog.User setter private for consistency
All other properties on AuditLog use private set.
This commit is contained in:
1 parent
fb8f49a2f6
commit
369b685fef
1 file changed
+1
-1
@@ -17,7 +17,7 @@ public class AuditLog
|
||||
public DateTime Timestamp { get; private set; } = DateTime.UtcNow;
|
||||
|
||||
// Navigation
|
||||
public AppUser? User { get; set; }
|
||||
public AppUser? User { get; private set; }
|
||||
|
||||
private AuditLog() { } // EF Core
|
||||
|
||||
|
||||
Reference in new issue
Block a user