Skip to content

Commit

Permalink
Model
Browse files Browse the repository at this point in the history
  • Loading branch information
JaveTLupango committed Apr 21, 2022
1 parent 89225b6 commit 4a31036
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion StudentInfoAPI/Models/Student.cs
Expand Up @@ -7,7 +7,10 @@ namespace StudentInfoAPI.Models
public class Student
{
[Key]
public int StudentID { get; set; }
public int Id { get; set; }

[Column(TypeName = "varchar(50)")]
public string StudentCode { get; set; }

[Required]
[Column(TypeName = "varchar(50)")]
Expand All @@ -28,6 +31,9 @@ public class Student
[Column(TypeName = "varchar(50)")]
public string StudentEmail { get; set; }

[Column(TypeName = "varchar(50)")]
public string StudentAdviser { get; set; }

public DateTime TDT { get; set; }

public DateTime UDT { get; set; }
Expand Down

0 comments on commit 4a31036

Please sign in to comment.