ban some user
This commit is contained in:
parent
260ffc0caf
commit
92fc6c6c95
1 changed files with 12 additions and 0 deletions
|
|
@ -30,5 +30,17 @@ namespace Yavsc.Models.Access
|
||||||
{
|
{
|
||||||
get; set;
|
get; set;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Required]
|
||||||
|
public string TargetId
|
||||||
|
{
|
||||||
|
get; set;
|
||||||
|
}
|
||||||
|
|
||||||
|
[ForeignKey("TargetId")]
|
||||||
|
public virtual ApplicationUser TargetUser {
|
||||||
|
get; set;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue