-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace ContosoUniversity.Data.DTO | ||
{ | ||
public class CourseAssignmentsDTO | ||
{ | ||
public int InstructorID { get; set; } | ||
public int CourseID { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace ContosoUniversity.Data.DTO | ||
{ | ||
public class CourseDTO | ||
{ | ||
public int ID { get; set; } | ||
public int CourseNumber { get; set; } | ||
public string Title { get; set; } | ||
public int Credits { get; set; } | ||
public int DepartmentID { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace ContosoUniversity.Data.DTO | ||
{ | ||
public class DepartmentDTO | ||
{ | ||
public int ID { get; set; } | ||
public int InstructorID { get; set; } | ||
public string Name { get; set; } | ||
public decimal Budget { get; set; } | ||
public DateTime StartDate { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using ContosoUniversity.Data.Enums; | ||
|
||
namespace ContosoUniversity.Data.DTO | ||
{ | ||
public class EnrollmentDTO | ||
{ | ||
public int ID { get; set; } | ||
public int CourseID { get; set; } | ||
public int StudentID { get; set; } | ||
public Grade? Grade { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
|
||
namespace ContosoUniversity.Data.DTO | ||
{ | ||
public class InstructorDTO | ||
{ | ||
public int ID { get; set; } | ||
public string FirstMidName { get; set; } | ||
public string LastName { get; set; } | ||
public DateTime HireDate { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace ContosoUniversity.Data.DTO | ||
{ | ||
public class OfficeAssignmentDTO | ||
{ | ||
public int ID { get; set; } | ||
public int InstructorID { get; set; } | ||
public string Location { get; set; } | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
|
||
namespace ContosoUniversity.Data.DTO | ||
{ | ||
public class StudentDTO | ||
{ | ||
public int ID { get; set; } | ||
public string FirstMidName { get; set; } | ||
public string LastName { get; set; } | ||
public DateTime EnrollmentDate { get; set; } | ||
} | ||
} |