diff --git a/LawFim/LawFimDataModels/Enums/CaseStatus.cs b/LawFim/LawFimDataModels/Enums/CaseStatus.cs new file mode 100644 index 0000000..150df67 --- /dev/null +++ b/LawFim/LawFimDataModels/Enums/CaseStatus.cs @@ -0,0 +1,12 @@ +namespace LawFimDataModels.Enums +{ + public enum CaseStatus + { + Неизвестен = -1, + Принято = 0, + АнализДелаИПодготовкаДокументов = 1, + СлушанияДела = 2, + ЗакрытиеДела = 3 + + } +} diff --git a/LawFim/LawFimDataModels/IId.cs b/LawFim/LawFimDataModels/IId.cs new file mode 100644 index 0000000..a6050d9 --- /dev/null +++ b/LawFim/LawFimDataModels/IId.cs @@ -0,0 +1,7 @@ +namespace LawFimDataModels +{ + public interface IId + { + int Id { get; } + } +} diff --git a/LawFim/LawFimDataModels/Models/ICaseModel.cs b/LawFim/LawFimDataModels/Models/ICaseModel.cs new file mode 100644 index 0000000..1c0b64f --- /dev/null +++ b/LawFim/LawFimDataModels/Models/ICaseModel.cs @@ -0,0 +1,14 @@ +using LawFimDataModels.Enums; + +namespace LawFimDataModels.Models +{ + public interface ICaseModel : IId + { + Dictionary CaseClients { get; } + string Name { get; } + CaseStatus Status { get; } + string CaseType { get; } + DateTime DateCreate { get; } + DateTime? DateImplement { get; } + } +} diff --git a/LawFim/LawFimDataModels/Models/IClientModel.cs b/LawFim/LawFimDataModels/Models/IClientModel.cs new file mode 100644 index 0000000..13dd061 --- /dev/null +++ b/LawFim/LawFimDataModels/Models/IClientModel.cs @@ -0,0 +1,9 @@ +namespace LawFimDataModels.Models +{ + public interface IClientModel : IId + { + string FIO { get; } + string Phone { get; } + string Email { get; } + } +} diff --git a/LawFim/LawFimDataModels/Models/IRoleModel.cs b/LawFim/LawFimDataModels/Models/IRoleModel.cs new file mode 100644 index 0000000..38bd1c6 --- /dev/null +++ b/LawFim/LawFimDataModels/Models/IRoleModel.cs @@ -0,0 +1,7 @@ +namespace LawFimDataModels.Models +{ + public interface IRoleModel : IId + { + string Name { get; } + } +} diff --git a/LawFim/LawFimDataModels/Models/IUserModel.cs b/LawFim/LawFimDataModels/Models/IUserModel.cs new file mode 100644 index 0000000..2c311b0 --- /dev/null +++ b/LawFim/LawFimDataModels/Models/IUserModel.cs @@ -0,0 +1,10 @@ +namespace LawFimDataModels.Models +{ + public interface IUserModel : IId + { + string FIO { get; } + string Email { get; } + string Password { get; } + int RoleId { get; } + } +} diff --git a/LawFim/LawFimDataModels/Models/IVisitModel.cs b/LawFim/LawFimDataModels/Models/IVisitModel.cs new file mode 100644 index 0000000..db01c72 --- /dev/null +++ b/LawFim/LawFimDataModels/Models/IVisitModel.cs @@ -0,0 +1,9 @@ +namespace LawFimDataModels.Models +{ + public interface IVisitModel : IId + { + Dictionary VisitClients { get; } + DateTime VisitDate { get; } + int HearingId { get; } + } +}