HelperModels

This commit is contained in:
Ismailov_Rovshan 2023-04-08 22:43:04 +04:00
parent 89ea17e110
commit e37a7d8777
8 changed files with 124 additions and 2 deletions

View File

@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureContracts.ViewModel
{
public class ReportFurnitureHeadsetModuleViewModel
{
public string TitleFurniture { get; set; } = string.Empty;
public DateTime DateFurniture { get; set; }
public string TitleHeadsetModule { get; set; } = string.Empty;
public DateTime DateHeadsetModule { get; set; }
}
}

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureContracts.ViewModel
{
public class ReportHeadsetMaterialViewModel
{
public string Title { get; set; } = string.Empty;
public List<string> Headsets { get; set; } = new();
}
}

View File

@ -1,4 +1,5 @@
using System; using FurnitureContracts.ViewModel;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@ -12,6 +13,6 @@ namespace FurnitureFactoryBusinessLogic.OfficePackage.HelperModels
public string Title { get; set; } = string.Empty; public string Title { get; set; } = string.Empty;
//public List<> { get; set; } = new(); public List<ReportFurnitureHeadsetModuleViewModel> FurnitureHeadsetModules { get; set; }
} }
} }

View File

@ -0,0 +1,22 @@
using FurnitureContracts.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureFactoryBusinessLogic.OfficePackage.HelperModels
{
public class PdfInfoMaster
{
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<ReportFurnitureHeadsetModuleViewModel> ReportFurnitureHeadsetModuleViewModels { get; set; } = new();
}
}

View File

@ -0,0 +1,18 @@
using FurnitureFactoryBusinessLogic.OfficePackage.HelperEnums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureFactoryBusinessLogic.OfficePackage.HelperModels
{
public class PdfParagraph
{
public string Text { get; set; } = string.Empty;
public string Style { get; set; } = string.Empty;
public PdfParagraphAlignmentType ParagraphAlignment { get; set; }
}
}

View File

@ -0,0 +1,18 @@
using FurnitureFactoryBusinessLogic.OfficePackage.HelperEnums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureFactoryBusinessLogic.OfficePackage.HelperModels
{
public class PdfRowParameters
{
public List<string> Texts { get; set; } = new();
public string Style { get; set; } = string.Empty;
public PdfParagraphAlignmentType ParagraphAlignment { get; set; }
}
}

View File

@ -0,0 +1,18 @@
using FurnitureContracts.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureFactoryBusinessLogic.OfficePackage.HelperModels
{
public class WordInfoMaster
{
public string FileName { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public List<ReportHeadsetMaterialViewModel> HeadsetMaterialы { get; set; } = new();
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureFactoryBusinessLogic.OfficePackage.HelperModels
{
public class WordParagraph
{
public List<(string, WordTextProperties)> Texts { get; set; } = new();
public WordTextProperties? TextProperties { get; set; }
}
}