Добавление в HelperModels в HotelBusinessLogic.OfficePackage

This commit is contained in:
Кашин Максим 2023-04-07 01:11:59 +04:00
parent 71527f67a3
commit 092affde01
5 changed files with 86 additions and 0 deletions

View File

@ -0,0 +1,20 @@
using HotelContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelBusinessLogic.OfficePackage.HelperModels
{
public class ExcelInfoHeadwaiter
{
public string FileName { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public List<ReportMealPlanDinnerViewModel> MealPlanDinner
{
get;
set;
} = new();
}
}

View File

@ -0,0 +1,18 @@
using HotelContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelBusinessLogic.OfficePackage.HelperModels
{
public class PdfInfoHeadwaiter
{
public string FileName { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public DateTime DateFrom { get; set; }
public DateTime DateTo { get; set; }
public List<ReportConferenceBindingRoomsViewModel> ConferenceBindingRooms { get; set; } = new();
}
}

View File

@ -0,0 +1,16 @@
using HotelContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelBusinessLogic.OfficePackage.HelperModels
{
public class WordInfoHeadwaiter
{
public string FileName { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public List<ReportMealPlanDinnerViewModel> MealPlanDinner { get; set; } = new();
}
}

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelContracts.ViewModels
{
public class ReportConferenceBindingRoomsViewModel
{
public int Id { get; set; }
public string RoomName { get; set; } = string.Empty;
public string RoomPrice { get; set; } = string.Empty;
public string RoomFrame { get; set; } = string.Empty;
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelContracts.ViewModels
{
public class ReportMealPlanDinnerViewModel
{
public string DinnerName { get; set; } = string.Empty;
public List<Tuple<string, DateTime>> MealPlans { get; set; } = new();
}
}