Add Created date to user, add verified column in list and make user list use same model as modern lists

This commit is contained in:
Kukks
2020-10-03 14:12:55 +02:00
parent 9daa424afd
commit 3d2b4cbfa8
13 changed files with 119 additions and 100 deletions

View File

@@ -1,3 +1,6 @@
using System;
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models
{
public class ApplicationUserData
@@ -26,5 +29,11 @@ namespace BTCPayServer.Client.Models
/// the roles of the user
/// </summary>
public string[] Roles { get; set; }
/// <summary>
/// the date the user was created. Null if created before v1.0.5.6.
/// </summary>
[JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))]
public DateTimeOffset? Created { get; set; }
}
}