30 lines
654 B
C#
30 lines
654 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Asistencia.Models;
|
|
|
|
public class AsistenciaProfesor
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
|
|
public int IdCursoAbierto { get; set; }
|
|
|
|
[MaxLength(20)]
|
|
public string RutPasaporte { get; set; } = string.Empty;
|
|
|
|
public DateTime FechaAsistencia { get; set; }
|
|
|
|
[MaxLength(10)]
|
|
public string HoraInicio { get; set; } = string.Empty;
|
|
|
|
[MaxLength(10)]
|
|
public string HoraFin { get; set; } = string.Empty;
|
|
|
|
[MaxLength(20)]
|
|
public string Estado { get; set; } = "Activa";
|
|
|
|
public bool Temporal { get; set; }
|
|
|
|
public CursoAbierto? CursoAbierto { get; set; }
|
|
}
|