diff --git a/UniversityContracts/Class1.cs b/UniversityContracts/Class1.cs deleted file mode 100644 index 7341e15..0000000 --- a/UniversityContracts/Class1.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Contracts -{ - public class Class1 - { - - } -} \ No newline at end of file diff --git a/UniversityContracts/UniversityContracts.csproj b/UniversityContracts/UniversityContracts.csproj index 132c02c..5328806 100644 --- a/UniversityContracts/UniversityContracts.csproj +++ b/UniversityContracts/UniversityContracts.csproj @@ -6,4 +6,16 @@ enable + + + + + + + + + + + + diff --git a/UniversityModels/Class1.cs b/UniversityModels/Class1.cs deleted file mode 100644 index 8ed1cc9..0000000 --- a/UniversityModels/Class1.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace UniversityModels -{ - public class Class1 - { - - } -} \ No newline at end of file diff --git a/UniversityModels/IId.cs b/UniversityModels/IId.cs new file mode 100644 index 0000000..5a364ee --- /dev/null +++ b/UniversityModels/IId.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace UniversityModels +{ + public interface IId + { + int Id { get; } + } +} diff --git a/UniversityModels/Models/IDocumentModel.cs b/UniversityModels/Models/IDocumentModel.cs new file mode 100644 index 0000000..33f093f --- /dev/null +++ b/UniversityModels/Models/IDocumentModel.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace UniversityModels.Models +{ + public interface IDocumentModel : IId + { + string Name { get; } + DateTime Date { get; } + } +} diff --git a/UniversityModels/Models/IEducationStatusModel.cs b/UniversityModels/Models/IEducationStatusModel.cs new file mode 100644 index 0000000..552ac2c --- /dev/null +++ b/UniversityModels/Models/IEducationStatusModel.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace UniversityModels.Models +{ + public interface IEducationStatusModel : IId + { + string Name { get; } + } +} diff --git a/UniversityModels/Models/IStudentModel.cs b/UniversityModels/Models/IStudentModel.cs new file mode 100644 index 0000000..6b45b77 --- /dev/null +++ b/UniversityModels/Models/IStudentModel.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace UniversityModels.Models +{ + public interface IStudentModel : IId + { + string Name { get; } + string Surname { get; } + DateTime DateOfBirth { get; } + int StudentCard { get; } + int EducationStatusId { get; } + } +}