Can add administrator, fix #65

This commit is contained in:
nicolas.dorier
2018-03-22 19:55:14 +09:00
parent f1c467aa7d
commit 3b2cf2f1de
6 changed files with 88 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Models.ServerViewModels
{
public class UserViewModel
{
public string Id { get; set; }
public string Email { get; set; }
[Display(Name = "Is admin")]
public bool IsAdmin { get; set; }
public string StatusMessage { get; set; }
}
}