antoc0der 2024-05-02 10:52:35 +04:00
commit 1ed570a157
8 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,9 @@
namespace VeterinaryBusinessLogic.OfficePackage.HelperEnums
{
public enum PdfParagraphAlignmentType
{
Center,
Left,
Right
}
}

View File

@ -0,0 +1,8 @@
namespace VeterinaryBusinessLogic.OfficePackage.HelperEnums
{
public enum WordJustificationType
{
Center,
Both
}
}

View File

@ -0,0 +1,12 @@
namespace VeterinaryBusinessLogic.OfficePackage.HelperModels
{
public class PdfInfo
{
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<ReportServicesViewModel> ReportServices { get; set; } = new();
public List<ReportPurchasesViewModel> ReportPurchases{ get; set; } = new();
}
}

View File

@ -0,0 +1,11 @@
using VeterinaryBusinessLogic.OfficePackage.HelperEnums;
namespace VeterinaryBusinessLogic.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,11 @@
using VeterinaryBusinessLogic.OfficePackage.HelperEnums;
namespace VeterinaryBusinessLogic.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,12 @@
using VeterinaryContracts.ViewModels;
namespace VeterinaryBusinessLogic.OfficePackage.HelperModels
{
public class WordInfo
{
public string FileName { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public List<ServiceViewModel> Services { get; set; } = new();
public List<PetViewModel> Pets { get; set; } = new();
}
}

View File

@ -0,0 +1,8 @@
namespace VeterinaryBusinessLogic.OfficePackage.HelperModels
{
public class WordParagraph
{
public List<(string, WordTextProperties)> Texts { get; set; } = new();
public WordTextProperties? TextProperties { get; set; }
}
}

View File

@ -0,0 +1,11 @@
using VeterinaryBusinessLogic.OfficePackage.HelperEnums;
namespace VeterinaryBusinessLogic.OfficePackage.HelperModels
{
public class WordTextProperties
{
public string Size { get; set; } = string.Empty;
public bool Bold { get; set; }
public WordJustificationType JustificationType { get; set; }
}
}