using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ServiceShared.Models.Database { public class Device { /// /// Type of mobile devices /// public enum DeviceTypes { NONE, IOS, ANDROID } /// /// PatHash id hashed internal pat id, that can be decrypted by serviceinside /// public string PatHash { get; set; } /// /// Unique id of mobile device /// public string UDID { get; set; } /// /// DeviceToken for notification service /// public string DeviceToken { get; set; } /// /// Type of mobile device /// public DeviceTypes DeviceType { get; set; } /// /// Public Key of mobile client /// public string ClientPublicKey { get; set; } /// /// Client verification hash /// public string VerificationHash { get; set; } /// /// Client PIN to reset password on the same device /// public string PIN { get; set; } /// /// Timestamp for modification /// public DateTime? Modified { get; set; } /// /// Created date of results object(this) /// public DateTime Created { get; set; } } }