Добавил модели
This commit is contained in:
parent
0dd6ef6c4a
commit
dfece37eb2
@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
|
13
CaseAccounting/CaseAccountingDataModels/IId.cs
Normal file
13
CaseAccounting/CaseAccountingDataModels/IId.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels
|
||||
{
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
19
CaseAccounting/CaseAccountingDataModels/Models/ICaseModel.cs
Normal file
19
CaseAccounting/CaseAccountingDataModels/Models/ICaseModel.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface ICaseModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Applicant { get; }
|
||||
string Defendant { get; }
|
||||
string Annotation { get; }
|
||||
DateTime Date { get; }
|
||||
int SpecializationId { get; }
|
||||
int UserId { get; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface IContractModel : IId
|
||||
{
|
||||
string Service { get; }
|
||||
decimal Coast { get; }
|
||||
DateTime Date { get; }
|
||||
}
|
||||
}
|
15
CaseAccounting/CaseAccountingDataModels/Models/IDealModel.cs
Normal file
15
CaseAccounting/CaseAccountingDataModels/Models/IDealModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface IDealModel : IId
|
||||
{
|
||||
string Subject { get; }
|
||||
string Responsibilities { get; }
|
||||
DateTime Date { get; }
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface IHearingModel : IId
|
||||
{
|
||||
string Information { get; }
|
||||
DateTime Date { get; }
|
||||
int CaseId { get; }
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface ILawyerModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Surname { get; }
|
||||
string Patronymic { get; }
|
||||
int Experience { get; }
|
||||
int SpecializationId { get; }
|
||||
}
|
||||
}
|
13
CaseAccounting/CaseAccountingDataModels/Models/IRoleModel.cs
Normal file
13
CaseAccounting/CaseAccountingDataModels/Models/IRoleModel.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface IRoleModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface ISpecializationModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
15
CaseAccounting/CaseAccountingDataModels/Models/IUserModel.cs
Normal file
15
CaseAccounting/CaseAccountingDataModels/Models/IUserModel.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingDataModels.Models
|
||||
{
|
||||
public interface IUserModel : IId
|
||||
{
|
||||
string Login { get; }
|
||||
string Password { get; }
|
||||
int RoleId { get; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user