33 lines
720 B
C#
33 lines
720 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Asistencia.Models;
|
|
|
|
public class CursoAbierto
|
|
{
|
|
[Key]
|
|
public int IdCursoAbierto { get; set; }
|
|
|
|
public int IdCursos { get; set; }
|
|
|
|
[MaxLength(50)]
|
|
public string Sala { get; set; } = string.Empty;
|
|
|
|
[MaxLength(100)]
|
|
public string Sede { get; set; } = string.Empty;
|
|
|
|
[MaxLength(10)]
|
|
public string HoraInicio { get; set; } = string.Empty;
|
|
|
|
[MaxLength(10)]
|
|
public string HoraFin { get; set; } = string.Empty;
|
|
|
|
public DateTime FechaInicio { get; set; }
|
|
|
|
public DateTime FechaTermino { get; set; }
|
|
|
|
[MaxLength(20)]
|
|
public string ProfesorRun { get; set; } = string.Empty;
|
|
|
|
public Curso? Curso { get; set; }
|
|
}
|