Создал модели для поручителя
This commit is contained in:
parent
c84db31fdf
commit
dca56be647
@ -6,8 +6,4 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Models\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
16
Hotel/HotelDataModels/Models/IAdministratorModel.cs
Normal file
16
Hotel/HotelDataModels/Models/IAdministratorModel.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace HotelDataModels.Models
|
||||||
|
{
|
||||||
|
public interface IAdministratorModel : IId
|
||||||
|
{
|
||||||
|
string AdministratorFIO { get; }
|
||||||
|
string AdministratorPhone { get; }
|
||||||
|
string HeadwaiterLogin { get; }
|
||||||
|
string HeadwaiterPassword { get; }
|
||||||
|
}
|
||||||
|
}
|
18
Hotel/HotelDataModels/Models/IConferenceBookingModel.cs
Normal file
18
Hotel/HotelDataModels/Models/IConferenceBookingModel.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace HotelDataModels.Models
|
||||||
|
{
|
||||||
|
public interface IConferenceBookingModel : IId
|
||||||
|
{
|
||||||
|
int AdministratorId { get; }
|
||||||
|
int? ConferenceId { get; }
|
||||||
|
string PlaceСonference { get; }
|
||||||
|
DateTime? DateСonference { get; }
|
||||||
|
public Dictionary<int, IDinnerModel> ConferenceBookingDinners { get; }
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
16
Hotel/HotelDataModels/Models/IDinnerModel.cs
Normal file
16
Hotel/HotelDataModels/Models/IDinnerModel.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace HotelDataModels.Models
|
||||||
|
{
|
||||||
|
public interface IDinnerModel : IId
|
||||||
|
{
|
||||||
|
string DinnerName { get; }
|
||||||
|
int DinnerСalorieСontent { get; }
|
||||||
|
double DinnerPrice { get; }
|
||||||
|
int AdministratorId { get; }
|
||||||
|
}
|
||||||
|
}
|
17
Hotel/HotelDataModels/Models/IRoomModel.cs
Normal file
17
Hotel/HotelDataModels/Models/IRoomModel.cs
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace HotelDataModels.Models
|
||||||
|
{
|
||||||
|
public interface IRoomModel : IId
|
||||||
|
{
|
||||||
|
int RoomNumber { get; }
|
||||||
|
int CountBeds { get; }
|
||||||
|
double RoomPrice { get; }
|
||||||
|
int AdministratorId { get; }
|
||||||
|
public Dictionary<int, IDinnerModel> RoomDinners { get; }
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user