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 (); } set { Content = value.ToJSON (); } } } }