дополнил Reports
This commit is contained in:
parent
d7392f5eac
commit
24edc0e94d
@ -0,0 +1,23 @@
|
||||
using CaseAccountingContracts.BindingModels;
|
||||
using CaseAccountingContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.BusinessLogicContracts
|
||||
{
|
||||
public interface IReportProviderLogic
|
||||
{
|
||||
List<ReportCaseSpecializationViewModel> GetCaseSpecialization();
|
||||
|
||||
List<ReportHearingLawyerViewModel> GetHearingLawyer(ReportBindingModel model);
|
||||
|
||||
void SaveCaseSpecializationToWordFile(ReportBindingModel model);
|
||||
|
||||
void SaveCaseSpecializationToExcelFile(ReportBindingModel model);
|
||||
|
||||
void SaveHearingLawyerToPdfFile(ReportBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.ViewModels
|
||||
{
|
||||
public class ReportCaseSpecializationViewModel
|
||||
{
|
||||
public string CaseName { get; set; } = string.Empty;
|
||||
public string Applicant { get; set; } = string.Empty;
|
||||
public string Defendant { get; set; } = string.Empty;
|
||||
public DateTime Date { get; set; }
|
||||
public string Specialization { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CaseAccountingContracts.ViewModels
|
||||
{
|
||||
public class ReportHearingLawyerViewModel
|
||||
{
|
||||
public string Information { get; set; } = string.Empty;
|
||||
public DateTime Date { get; set; }
|
||||
public List<(string Surname, string Name, string Patronymic)> Lawyers { get; set; } = new();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user