From 7fe7ce1b3d0f635158e2dd5a7138579e83322260 Mon Sep 17 00:00:00 2001 From: warboy Date: Thu, 14 Nov 2024 10:42:06 +0300 Subject: [PATCH] add DAO --- presence/DAO/Attedances.cs | 17 +++++++++++++++++ presence/DAO/GroupSubjest.cs | 12 ++++++++++++ presence/DAO/Groups.cs | 12 ++++++++++++ presence/DAO/Semesters.cs | 15 +++++++++++++++ presence/DAO/Students.cs | 12 ++++++++++++ presence/DAO/Subjects.cs | 12 ++++++++++++ presence/DAO/Visits.cs | 14 ++++++++++++++ presence/presence.csproj | 14 ++++++++++++++ 8 files changed, 108 insertions(+) create mode 100644 presence/DAO/Attedances.cs create mode 100644 presence/DAO/GroupSubjest.cs create mode 100644 presence/DAO/Groups.cs create mode 100644 presence/DAO/Semesters.cs create mode 100644 presence/DAO/Students.cs create mode 100644 presence/DAO/Subjects.cs create mode 100644 presence/DAO/Visits.cs diff --git a/presence/DAO/Attedances.cs b/presence/DAO/Attedances.cs new file mode 100644 index 0000000..a1e7ab3 --- /dev/null +++ b/presence/DAO/Attedances.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace presence.DAO +{ + internal class Attedances + { + public DateTime Date { get; set; } + public int IdSubjectGroup { get; set; } + public int IdStudents { get; set; } + public int IdGroup { get; set; } + public int IdVisit { get; set; } + } +} diff --git a/presence/DAO/GroupSubjest.cs b/presence/DAO/GroupSubjest.cs new file mode 100644 index 0000000..89dd7f8 --- /dev/null +++ b/presence/DAO/GroupSubjest.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace presence.DAO +{ + internal class GroupSubjest + { + } +} diff --git a/presence/DAO/Groups.cs b/presence/DAO/Groups.cs new file mode 100644 index 0000000..1723846 --- /dev/null +++ b/presence/DAO/Groups.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace presence.DAO +{ + internal class Group + { + } +} diff --git a/presence/DAO/Semesters.cs b/presence/DAO/Semesters.cs new file mode 100644 index 0000000..d4fcad6 --- /dev/null +++ b/presence/DAO/Semesters.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace presence.DAO +{ + internal class Semesters + { + public int IdSemester { get; set; } + public DateTime StartTime { get; set; } + public DateTime EndTime { get; set; } + } +} diff --git a/presence/DAO/Students.cs b/presence/DAO/Students.cs new file mode 100644 index 0000000..4f8c9c1 --- /dev/null +++ b/presence/DAO/Students.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace presence.DAO +{ + internal class Students + { + } +} diff --git a/presence/DAO/Subjects.cs b/presence/DAO/Subjects.cs new file mode 100644 index 0000000..04e3e9c --- /dev/null +++ b/presence/DAO/Subjects.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace presence.DAO +{ + internal class Subjects + { + } +} diff --git a/presence/DAO/Visits.cs b/presence/DAO/Visits.cs new file mode 100644 index 0000000..cf2d474 --- /dev/null +++ b/presence/DAO/Visits.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace presence.DAO +{ + internal class Visit + { + public int IdVisit { get; set; } + public string NameVisit { get; set; } + } +} diff --git a/presence/presence.csproj b/presence/presence.csproj index fa71b7a..e4cdd76 100644 --- a/presence/presence.csproj +++ b/presence/presence.csproj @@ -6,4 +6,18 @@ enable + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + + + + + +