This commit is contained in:
warboy 2024-11-14 10:42:06 +03:00
parent 219df2c79d
commit 7fe7ce1b3d
8 changed files with 108 additions and 0 deletions

View File

@ -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; }
}
}

View File

@ -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
{
}
}

12
presence/DAO/Groups.cs Normal file
View File

@ -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
{
}
}

15
presence/DAO/Semesters.cs Normal file
View File

@ -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; }
}
}

12
presence/DAO/Students.cs Normal file
View File

@ -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
{
}
}

12
presence/DAO/Subjects.cs Normal file
View File

@ -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
{
}
}

14
presence/DAO/Visits.cs Normal file
View File

@ -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; }
}
}

View File

@ -6,4 +6,18 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.10" />
</ItemGroup>
<ItemGroup>
<Folder Include="DAO\" />
</ItemGroup>
</Project> </Project>