Files
2024-01-25 04:42:47 +03:30

16 lines
472 B
C#

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 (); }
}
}
}