Написаны DataModels для Поставщика

This commit is contained in:
Danil Markov 2023-04-04 13:43:06 +04:00
parent 11778f61ca
commit 19881247ff
7 changed files with 69 additions and 14 deletions

View File

@ -1,7 +0,0 @@
namespace Contracts
{
public class Class1
{
}
}

View File

@ -6,4 +6,16 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Folder Include="BindingModels\" />
<Folder Include="BusinessLogicContracts\" />
<Folder Include="SearchModels\" />
<Folder Include="StoragesContracts\" />
<Folder Include="ViewModels\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\UniversityModels\UniversityModels.csproj" />
</ItemGroup>
</Project> </Project>

View File

@ -1,7 +0,0 @@
namespace UniversityModels
{
public class Class1
{
}
}

13
UniversityModels/IId.cs Normal file
View File

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

View File

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

View File

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

View File

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