mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
26 lines
696 B
C#
26 lines
696 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace BTCPayServer.Models.StoreViewModels
|
|
{
|
|
public class StoreUsersViewModel
|
|
{
|
|
public class StoreUserViewModel
|
|
{
|
|
public string Email { get; set; }
|
|
public string Role { get; set; }
|
|
public string Id { get; set; }
|
|
}
|
|
public StoreUsersViewModel()
|
|
{
|
|
Role = StoreRoles.Guest;
|
|
}
|
|
[Required]
|
|
[EmailAddress]
|
|
public string Email { get; set; }
|
|
public string StoreId { get; set; }
|
|
public string Role { get; set; }
|
|
public List<StoreUserViewModel> Users { get; set; }
|
|
}
|
|
}
|