This commit is contained in:
AnnZhimol 2023-04-02 14:33:05 +04:00
commit c0c1c2dad2
8 changed files with 18 additions and 42 deletions

View File

@ -4,7 +4,7 @@ namespace HotelContracts.BindingModels
{
public class DinnerBindingModel : IDinnerModel
{
public string DinnerName { get; set; }
public string DinnerName { get; set; } = string.Empty;
public double DinnetPrice { get; set; }

View File

@ -4,15 +4,15 @@ namespace HotelContracts.BindingModels
{
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; }
}

View File

@ -4,9 +4,9 @@ namespace HotelContracts.BindingModels
{
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; }

View File

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelContracts.SearchModels
{
public class ConferenceBookingSearchModel

View File

@ -1,14 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelContracts.SearchModels
{
public class DinnerSearchModel
{
public string? DinnerName { get; set; } = string.Empty;
public string? DinnerName { get; set; }
public int? Id { get; set; }
}
}

View File

@ -1,18 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelContracts.SearchModels
{
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; }
}
}

View File

@ -1,14 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelContracts.SearchModels
{
public class RoomSearchModel
{
public string? RoomName { get; set; } = string.Empty;
public string? RoomName { get; set; }
public int? Id { get; set; }
}
}

View File

@ -1,10 +1,6 @@
using HotelDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelContracts.ViewModels
{