feat: implement core domain models, authentication service, and UI components for the attendance system
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Asistencia.Models;
|
||||
|
||||
public class DetalleContrato
|
||||
{
|
||||
[Key]
|
||||
public int IdDetalleContrato { get; set; }
|
||||
|
||||
public int IdCursoAbierto { get; set; }
|
||||
|
||||
[MaxLength(100)]
|
||||
public string AP_Paterno { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(100)]
|
||||
public string AP_Materno { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(100)]
|
||||
public string Nombres { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(200)]
|
||||
public string Email { get; set; } = string.Empty;
|
||||
|
||||
[MaxLength(20)]
|
||||
public string Telefono { get; set; } = string.Empty;
|
||||
|
||||
public CursoAbierto? CursoAbierto { get; set; }
|
||||
|
||||
public string NombreCompleto => $"{Nombres} {AP_Paterno} {AP_Materno}".Trim();
|
||||
}
|
||||
Reference in New Issue
Block a user