This commit is contained in:
2020-07-17 00:38:08 +00:00
parent 338f61628e
commit c249fd5400
34 changed files with 294 additions and 165 deletions

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace AyaNova.Models
{
@@ -11,7 +12,7 @@ namespace AyaNova.Models
public dtUser()
{
Tags = new List<string>();
}
public long Id { get; set; }
public uint Concurrency { get; set; }
@@ -30,6 +31,9 @@ namespace AyaNova.Models
public List<string> Tags { get; set; }
public DateTime? LastLogin { get; set; }
[NotMapped]
public AyaType AyaType { get => AyaType.User; }
}//eoc
public class User : ICoreBizObjectModel
@@ -82,7 +86,7 @@ namespace AyaNova.Models
public User()
{
Tags = new List<string>();
}
public bool IsTech
@@ -93,5 +97,8 @@ namespace AyaNova.Models
}
}
[NotMapped]
public AyaType AyaType { get => AyaType.User; }
}//eoc
}