29 lines
429 B
TypeScript
29 lines
429 B
TypeScript
interface Carrera {
|
|
carrera: string;
|
|
}
|
|
|
|
interface Student {
|
|
id_cuenta: number;
|
|
nombre: string;
|
|
carrera: Carrera;
|
|
credito: number;
|
|
}
|
|
|
|
export interface Sancion {
|
|
id_sancion: number;
|
|
sancion: string;
|
|
duracion: number;
|
|
}
|
|
|
|
export interface Alumno {
|
|
id_cuenta: number;
|
|
nombre: string;
|
|
credito: number;
|
|
}
|
|
|
|
export interface AlumnoSancion {
|
|
id_alumno_sancion: number;
|
|
fecha_inicio: string;
|
|
sancion: Sancion;
|
|
}
|