using AutoMapper;
using MyOffice.Services.Account.Domain;

namespace MyOffice.Web.Models.Account;

public class AccountAccessViewModel
{
	public class AccountAccessItemViewModel
	{
		public string UserId { get; set; } = null!;
		public bool AllowWrite { get; set; }
	}

	public string? Email { get; set; }
	public bool AllowWrite { get; set; }
	public List<AccountAccessItemViewModel> Accesses { get; set; } = null!;
}

public class AccountAccessItemViewModelProfile : Profile
{
	public AccountAccessItemViewModelProfile()
	{
	}
}
