/// <see cref="MyOffice.Data.Models.Users.User"/>
namespace MyOffice.Services.Account.Domain;

using AutoMapper;
using MyOffice.Data.Models.Users;
using MyOffice.Services.Currency.Domain;

public class UserDto
{
	public Guid Id { get; set; }
	public string UserName { get; set; } = null!;
	public string Email { get; set; } = null!;
	public string? FirstName { get; set; }
	public string? LastName { get; set; }
	public string? FullName { get; set; }
	public string? Phone { get; set; }

	public string CurrencyId { get; set; } = null!;
	public CurrencyGlobalDto? Currency { get; set; }
}

public class UserDtoProfile : Profile
{
	public UserDtoProfile()
	{
		CreateMap<User, UserDto>();
	}
}