This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user