Initial Commit ...

This commit is contained in:
2024-01-25 04:42:47 +03:30
commit 844b4c47ad
50 changed files with 2615 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using xCommons.Extensions;
using xIdentityModels.Navigations;
using xModels.Base;
namespace xIdentityModels.Models {
public class XVerificationRequest : XBaseIntIDEntity {
[Required]
public string VerificationCode { get; set; }
public int NumberOfTries { get; set; }
public DateTime LastTryOn { get; set; }
[NotMapped]
public XActionRequestToken Request {
get {
return RequestStr.FromJSON<XActionRequestToken> ();
}
set {
RequestStr = value.ToJSON ();
}
}
public string RequestStr { get; set; }
[NotMapped]
public XDevice Device {
get {
return DeviceStr.FromJSON<XDevice> ();
}
set {
DeviceStr = value.ToJSON ();
}
}
public string DeviceStr { get; set; }
}
}