TomatenMusic-V2/TomatenMusic/Auth/Models/AuthenticateResponse.cs
Tim Müller 147eed234f INIT
2022-03-29 22:12:22 +02:00

22 lines
531 B
C#

namespace TomatenMusic_Api.Auth.Models;
using TomatenMusic_Api.Auth.Entities;
public class AuthenticateResponse
{
public int Id { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string Username { get; set; }
public string Token { get; set; }
public AuthenticateResponse(User user, string token)
{
Id = user.Id;
FirstName = user.FirstName;
LastName = user.LastName;
Username = user.Username;
Token = token;
}
}