публики2

This commit is contained in:
sofiaivv 2024-05-01 00:09:15 +04:00
parent 4cd7242439
commit 209cfc5f6b
6 changed files with 29 additions and 39 deletions

View File

@ -1,12 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawCompanyDataModels.Enums
namespace LawCompanyDataModels.Enums
{
internal class CaseStatus
public enum CaseStatus
{
Неизвестен = -1,
Принято = 0,
АнализДелаИПодготовкаДокументов = 1,
СлушанияДела = 2,
ЗакрытиеДела = 3
}
}

View File

@ -1,12 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawCompanyDataModels
namespace LawCompanyDataModels
{
internal class IId
public interface IId
{
int Id { get; }
}
}

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>

View File

@ -1,12 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LawCompanyDataModels.Enums;
namespace LawCompanyDataModels.Models
{
internal class ICaseModel
public interface ICaseModel : IId
{
Dictionary<int, IClientModel> CaseClients { get; }
string Name { get; }
CaseStatus Status { get; }
string CaseType { get; }
DateTime DateCreate { get; }
DateTime? DateImplement { get; }
}
}

View File

@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawCompanyDataModels.Models
namespace LawCompanyDataModels.Models
{
internal class IClientModel
public interface IClientModel : IId
{
string FIO { get; }
string Phone { get; }
string Email { get; }
}
}

View File

@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawCompanyDataModels.Models
namespace LawCompanyDataModels.Models
{
internal class IVisitModel
public interface IVisitModel : IId
{
Dictionary<int, IClientModel> VisitClients { get; }
DateTime VisitDate { get; }
int HearingId { get; }
}
}