Merge branch 'CourseWork' of http://student.git.athene.tech/AnnZhimol/CourseWork_Hotel into CourseWork
This commit is contained in:
commit
c0c1c2dad2
@ -4,7 +4,7 @@ namespace HotelContracts.BindingModels
|
|||||||
{
|
{
|
||||||
public class DinnerBindingModel : IDinnerModel
|
public class DinnerBindingModel : IDinnerModel
|
||||||
{
|
{
|
||||||
public string DinnerName { get; set; }
|
public string DinnerName { get; set; } = string.Empty;
|
||||||
|
|
||||||
public double DinnetPrice { get; set; }
|
public double DinnetPrice { get; set; }
|
||||||
|
|
||||||
|
@ -4,15 +4,15 @@ namespace HotelContracts.BindingModels
|
|||||||
{
|
{
|
||||||
public class HeadwaiterBindingModel : IHeadwaiterModel
|
public class HeadwaiterBindingModel : IHeadwaiterModel
|
||||||
{
|
{
|
||||||
public string HeadwaiterFIO { get; set; }
|
public string HeadwaiterFIO { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string HeadwaiterPassword { get; set; }
|
public string HeadwaiterPassword { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string HeadwaiterLogin { get; set; }
|
public string HeadwaiterLogin { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string HeadwaiterEmail { get; set; }
|
public string HeadwaiterEmail { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string HeadwaiterNumber { get; set; }
|
public string HeadwaiterNumber { get; set; } = string.Empty;
|
||||||
|
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,9 @@ namespace HotelContracts.BindingModels
|
|||||||
{
|
{
|
||||||
public class RoomBindingModel : IRoomModel
|
public class RoomBindingModel : IRoomModel
|
||||||
{
|
{
|
||||||
public string RoomName { get; set; }
|
public string RoomName { get; set; } = string.Empty;
|
||||||
|
|
||||||
public string RoomFrame { get; set; }
|
public string RoomFrame { get; set; } = string.Empty;
|
||||||
|
|
||||||
public double RoomPrice { get; set; }
|
public double RoomPrice { get; set; }
|
||||||
|
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace HotelContracts.SearchModels
|
namespace HotelContracts.SearchModels
|
||||||
{
|
{
|
||||||
public class ConferenceBookingSearchModel
|
public class ConferenceBookingSearchModel
|
||||||
|
@ -1,14 +1,9 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace HotelContracts.SearchModels
|
namespace HotelContracts.SearchModels
|
||||||
{
|
{
|
||||||
public class DinnerSearchModel
|
public class DinnerSearchModel
|
||||||
{
|
{
|
||||||
public string? DinnerName { get; set; } = string.Empty;
|
public string? DinnerName { get; set; }
|
||||||
public int? Id { get; set; }
|
public int? Id { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,13 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace HotelContracts.SearchModels
|
namespace HotelContracts.SearchModels
|
||||||
{
|
{
|
||||||
public class HeadwaiterSearchModel
|
public class HeadwaiterSearchModel
|
||||||
{
|
{
|
||||||
public string? HeadwaiterFIO { get; set; } = string.Empty;
|
public string? HeadwaiterFIO { get; set; }
|
||||||
|
|
||||||
public string? HeadwaiterPassword { get; set; } = string.Empty;
|
public string? HeadwaiterPassword { get; set; }
|
||||||
|
|
||||||
public string? HeadwaiterLogin { get; set; } = string.Empty;
|
public string? HeadwaiterLogin { get; set; }
|
||||||
public int? Id { get; set; }
|
public int? Id { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,9 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace HotelContracts.SearchModels
|
namespace HotelContracts.SearchModels
|
||||||
{
|
{
|
||||||
public class RoomSearchModel
|
public class RoomSearchModel
|
||||||
{
|
{
|
||||||
public string? RoomName { get; set; } = string.Empty;
|
public string? RoomName { get; set; }
|
||||||
public int? Id { get; set; }
|
public int? Id { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
using HotelDataModels.Models;
|
using HotelDataModels.Models;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace HotelContracts.ViewModels
|
namespace HotelContracts.ViewModels
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user