qol: formatting
This commit is contained in:
@@ -39,7 +39,7 @@ namespace Disco.Models.Repository
|
||||
return DomainUsername;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[NotMapped]
|
||||
public string DomainUsername
|
||||
{
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user