feat: implement core domain models, authentication service, and UI components for the attendance system

This commit is contained in:
2026-07-31 14:39:25 -04:00
commit f476f704eb
329 changed files with 12622 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
namespace Asistencia.Models;
public class Profesor
{
[Key]
[MaxLength(20)]
public string RutPasaporte { get; set; } = string.Empty;
[MaxLength(100)]
public string Nombre { get; set; } = string.Empty;
[MaxLength(100)]
public string Paterno { get; set; } = string.Empty;
[MaxLength(100)]
public string Materno { get; set; } = string.Empty;
[MaxLength(200)]
public string Email { get; set; } = string.Empty;
[MaxLength(20)]
public string Fono { get; set; } = string.Empty;
[MaxLength(300)]
public string Direccion { get; set; } = string.Empty;
[MaxLength(500)]
public string Clave { get; set; } = string.Empty;
public bool CrearClave { get; set; }
public string NombreCompleto => $"{Nombre} {Paterno} {Materno}".Trim();
}