qol: formatting

This commit is contained in:
Gary Sharp
2025-07-20 13:47:56 +10:00
parent 49da389c2c
commit 5792771ea1
158 changed files with 693 additions and 679 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ namespace Disco.Models.Repository
return DomainUsername;
}
}
[NotMapped]
public string DomainUsername
{
+2 -2
View File
@@ -15,10 +15,10 @@ namespace Disco.Models.Repository
public DateTime Timestamp { get; set; }
[Required]
public string Comments { get; set; }
[ForeignKey(nameof(UserId))]
public User User { get; set; }
[ForeignKey(nameof(TechUserId))]
public User TechUser { get; set; }
}
+2 -2
View File
@@ -7,10 +7,10 @@ namespace Disco.Models.Repository
{
[Key, Column(Order = 0)]
public string UserId { get; set; }
[Column(Order = 1), Key, StringLength(100)]
public string Scope { get; set; }
[Key, Column(Order = 2), StringLength(100)]
public string Key { get; set; }