Init Commit
This commit is contained in:
17
Backend/GestorFacturas.API/Models/Usuario.cs
Normal file
17
Backend/GestorFacturas.API/Models/Usuario.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
namespace GestorFacturas.API.Models;
|
||||
|
||||
public class Usuario
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[MaxLength(50)]
|
||||
public string Username { get; set; } = string.Empty;
|
||||
|
||||
[Required]
|
||||
public string PasswordHash { get; set; } = string.Empty;
|
||||
|
||||
public string Nombre { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user