refact + owner required for a circle
This commit is contained in:
@ -13,7 +13,10 @@ namespace Yavsc.Models.Relationship
|
||||
|
||||
public bool Public { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required]
|
||||
public string OwnerId { get; set; }
|
||||
|
||||
[ForeignKey("OwnerId"),JsonIgnore,NotMapped]
|
||||
|
Reference in New Issue
Block a user