Last active
January 9, 2021 15:23
-
-
Save icebeam7/2393ef43fa6bc203f9acec333e8d0605 to your computer and use it in GitHub Desktop.
Models/Estudiante.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
using System.Text.Json.Serialization; | |
namespace UniversidadWebsite.Models | |
{ | |
[Table("Estudiantes")] | |
public class Estudiante | |
{ | |
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] | |
public int Id { get; set; } | |
public string Cedula { get; set; } | |
public string Nombre { get; set; } | |
public DateTime FechaNacimiento { get; set; } | |
public int Semestre { get; set; } | |
public string Foto { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment