Add data models

This commit is contained in:
Viltskaa 2023-04-06 17:38:35 +04:00
parent 281bfa512b
commit 0c473d4484
8 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,6 @@
namespace HotelDataModels;
public interface IId
{
int Id { get; }
}

View File

@ -0,0 +1,7 @@
namespace HotelDataModels.Models;
public interface ICleaning : IId
{
DateTime Date { get; }
int RoomId { get; }
}

View File

@ -0,0 +1,6 @@
namespace HotelDataModels.Models;
public interface ICleaningInstruments : IId
{
string Type { get; }
}

View File

@ -0,0 +1,8 @@
namespace HotelDataModels.Models;
public interface IGuest : IId
{
string Name { get; }
string SecondName { get; }
string LastName { get; }
}

View File

@ -0,0 +1,10 @@
namespace HotelDataModels.Models;
public interface IMaitre : IId
{
string Name { get; }
string SecondName { get; }
string LastName { get; }
string Login { get; }
string Password { get; }
}

View File

@ -0,0 +1,9 @@
namespace HotelDataModels.Models;
public interface IReservation : IId
{
DateTime StartDate { get; }
DateTime EndDate { get; }
int GuestId { get; }
int MaitreId { get; }
}

View File

@ -0,0 +1,7 @@
namespace HotelDataModels.Models;
public interface IRoom : IId
{
string Type { get; }
int Cost { get; }
}

View File

@ -1,2 +1,4 @@
# PIbd-22_Bazunov_AI_Hotel # PIbd-22_Bazunov_AI_Hotel
Курсовая работа по дисциплине "Разработка профессиональных приложений".
Студент: Базунов А.И.