Создал модели для поручителя

This commit is contained in:
Extrimal 2024-04-21 20:06:12 +04:00
parent c84db31fdf
commit dca56be647
5 changed files with 67 additions and 4 deletions

View File

@ -6,8 +6,4 @@
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<Folder Include="Models\" />
</ItemGroup>
</Project> </Project>

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}