This commit is contained in:
2019-05-20 19:09:08 +00:00
parent 7d11399574
commit dd2b227d88
9 changed files with 16 additions and 29 deletions

View File

@@ -10,8 +10,7 @@ namespace AyaNova.Models
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
[Required]
public long OwnerId { get; set; }
//-------------
[EmailAddress]
@@ -33,12 +32,10 @@ namespace AyaNova.Models
public long UserId { get; set; }//will be auto-set by EF due to relationship defined
public UserOptions(long ownerId)
public UserOptions()
{
TimeZoneOffset = 0;
UiColor = 0;
OwnerId = ownerId;
}
}