Compare commits
2 Commits
0d86444be0
...
ef9da43e30
Author | SHA1 | Date | |
---|---|---|---|
ef9da43e30 | |||
dca56be647 |
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