Лена. Добавила интерфейсы моделей данных для 5 этапа
This commit is contained in:
parent
95bc89fd29
commit
8bd20e8bbd
14
Polyclinic/PolyclinicDataModels/Models/IMedicament.cs
Normal file
14
Polyclinic/PolyclinicDataModels/Models/IMedicament.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PolyclinicDataModels.Models
|
||||
{
|
||||
public interface IMedicament : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Comment { get; }
|
||||
}
|
||||
}
|
14
Polyclinic/PolyclinicDataModels/Models/IProcedure.cs
Normal file
14
Polyclinic/PolyclinicDataModels/Models/IProcedure.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PolyclinicDataModels.Models
|
||||
{
|
||||
public interface IProcedure : IId
|
||||
{
|
||||
string Name { get; }
|
||||
string Comment { get; }
|
||||
}
|
||||
}
|
15
Polyclinic/PolyclinicDataModels/Models/IReciept.cs
Normal file
15
Polyclinic/PolyclinicDataModels/Models/IReciept.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PolyclinicDataModels.Models
|
||||
{
|
||||
public interface IReciept : IId
|
||||
{
|
||||
int CountProcedures { get; set; }
|
||||
string Comment { get; set; }
|
||||
|
||||
}
|
||||
}
|
16
Polyclinic/PolyclinicDataModels/Models/ISuretor.cs
Normal file
16
Polyclinic/PolyclinicDataModels/Models/ISuretor.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace PolyclinicDataModels.Models
|
||||
{
|
||||
public interface ISuretor : IId
|
||||
{
|
||||
string FIO { get; }
|
||||
DateTime BirthDay { get; }
|
||||
string Password { get; }
|
||||
string RepeatPassword { get; }
|
||||
}
|
||||
}
|
@ -6,8 +6,4 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Models\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Loading…
Reference in New Issue
Block a user