Initial Commit ...
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using xCommons.Extensions;
|
||||
using xIdentityModels.Navigations;
|
||||
using xModels.Base;
|
||||
|
||||
namespace xIdentityModels.Models {
|
||||
public class XBannedDevice : XBaseIntIDEntity {
|
||||
public DateTime BannedOn { get; set; }
|
||||
|
||||
public string DeviceStr { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public XDevice Device {
|
||||
get {
|
||||
return DeviceStr.FromJSON<XDevice> ();
|
||||
}
|
||||
set {
|
||||
DeviceStr = value.ToJSON ();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user