Initial Commit ...
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using xCommons.Extensions;
|
||||
using xModels.Base;
|
||||
using xIdentityModels.Models;
|
||||
|
||||
namespace xIdentityModels {
|
||||
public class XApiToken : XBaseIntIDEntity {
|
||||
public string Content { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public XTokenResponse Tokens {
|
||||
get { return Content.IsNullOrEmpty () ? null : Content.FromJSON<XTokenResponse> (); }
|
||||
set { Content = value.ToJSON (); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user