Local Passwords validation
This commit is contained in:
parent
ce8f3ebce0
commit
8132db37d0
163 changed files with 1812 additions and 4772 deletions
|
|
@ -7,10 +7,10 @@ namespace Yavsc.Models.Relationship
|
|||
{
|
||||
public class Contact: IContact
|
||||
{
|
||||
[YaRequired()]
|
||||
[Required()]
|
||||
public string UserId { get; set; }
|
||||
|
||||
[YaRequired()]
|
||||
[Required()]
|
||||
public string OwnerId { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
|
@ -22,10 +22,10 @@ namespace Yavsc.Models.Relationship
|
|||
public virtual PostalAddress PostalAddress { get; set; }
|
||||
|
||||
|
||||
[ForeignKeyAttribute("OwnerId"),NotMapped]
|
||||
[ForeignKey("OwnerId"),NotMapped]
|
||||
public virtual ApplicationUser Owner { get; set; }
|
||||
|
||||
[ForeignKeyAttribute("UserId"),NotMapped]
|
||||
[ForeignKey("UserId"),NotMapped]
|
||||
public virtual ApplicationUser User { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
src/Yavsc.Server/Models/Relationship/StaticContact.cs
Normal file
12
src/Yavsc.Server/Models/Relationship/StaticContact.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
namespace Yavsc.Models.Relationship
|
||||
{
|
||||
public class StaticContact
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string EMail { get; set; }
|
||||
public PostalAddress? PostalAddress { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue