модельки раз
This commit is contained in:
parent
0a7031a14a
commit
37383c61c7
12
LawFim/LawFimDataModels/Enums/CaseStatus.cs
Normal file
12
LawFim/LawFimDataModels/Enums/CaseStatus.cs
Normal file
@ -0,0 +1,12 @@
|
||||
namespace LawFimDataModels.Enums
|
||||
{
|
||||
public enum CaseStatus
|
||||
{
|
||||
Неизвестен = -1,
|
||||
Принято = 0,
|
||||
АнализДелаИПодготовкаДокументов = 1,
|
||||
СлушанияДела = 2,
|
||||
ЗакрытиеДела = 3
|
||||
|
||||
}
|
||||
}
|
7
LawFim/LawFimDataModels/IId.cs
Normal file
7
LawFim/LawFimDataModels/IId.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace LawFimDataModels
|
||||
{
|
||||
public interface IId
|
||||
{
|
||||
int Id { get; }
|
||||
}
|
||||
}
|
14
LawFim/LawFimDataModels/Models/ICaseModel.cs
Normal file
14
LawFim/LawFimDataModels/Models/ICaseModel.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using LawFimDataModels.Enums;
|
||||
|
||||
namespace LawFimDataModels.Models
|
||||
{
|
||||
public interface ICaseModel : IId
|
||||
{
|
||||
Dictionary<int, IClientModel> CaseClients { get; }
|
||||
string Name { get; }
|
||||
CaseStatus Status { get; }
|
||||
string CaseType { get; }
|
||||
DateTime DateCreate { get; }
|
||||
DateTime? DateImplement { get; }
|
||||
}
|
||||
}
|
9
LawFim/LawFimDataModels/Models/IClientModel.cs
Normal file
9
LawFim/LawFimDataModels/Models/IClientModel.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace LawFimDataModels.Models
|
||||
{
|
||||
public interface IClientModel : IId
|
||||
{
|
||||
string FIO { get; }
|
||||
string Phone { get; }
|
||||
string Email { get; }
|
||||
}
|
||||
}
|
7
LawFim/LawFimDataModels/Models/IRoleModel.cs
Normal file
7
LawFim/LawFimDataModels/Models/IRoleModel.cs
Normal file
@ -0,0 +1,7 @@
|
||||
namespace LawFimDataModels.Models
|
||||
{
|
||||
public interface IRoleModel : IId
|
||||
{
|
||||
string Name { get; }
|
||||
}
|
||||
}
|
10
LawFim/LawFimDataModels/Models/IUserModel.cs
Normal file
10
LawFim/LawFimDataModels/Models/IUserModel.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace LawFimDataModels.Models
|
||||
{
|
||||
public interface IUserModel : IId
|
||||
{
|
||||
string FIO { get; }
|
||||
string Email { get; }
|
||||
string Password { get; }
|
||||
int RoleId { get; }
|
||||
}
|
||||
}
|
9
LawFim/LawFimDataModels/Models/IVisitModel.cs
Normal file
9
LawFim/LawFimDataModels/Models/IVisitModel.cs
Normal file
@ -0,0 +1,9 @@
|
||||
namespace LawFimDataModels.Models
|
||||
{
|
||||
public interface IVisitModel : IId
|
||||
{
|
||||
Dictionary<int, IClientModel> VisitClients { get; }
|
||||
DateTime VisitDate { get; }
|
||||
int HearingId { get; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user