IReportLogic
This commit is contained in:
parent
3cc19144c6
commit
c98cd8857f
@ -0,0 +1,26 @@
|
|||||||
|
using FurnitureContracts.ViewModel;
|
||||||
|
using FurnitureFactoryDataModels.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace FurnitureContracts.BindingModels
|
||||||
|
{
|
||||||
|
public class ReportBindingModel
|
||||||
|
{
|
||||||
|
public string FileName { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public int? MasterId { get; set; }
|
||||||
|
public int? ManagerId { get; set; }
|
||||||
|
|
||||||
|
public List<MaterialViewModel>? Materials { get; set; }
|
||||||
|
|
||||||
|
public List<ISalesSalonsModel>? SalesSalons { get; set; }
|
||||||
|
|
||||||
|
public DateTime? DateFrom { get; set; }
|
||||||
|
|
||||||
|
public DateTime? DateTo { get; set; }
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,40 @@
|
|||||||
|
using FurnitureContracts.BindingModels;
|
||||||
|
using FurnitureContracts.ViewModel;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace FurnitureContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IReportLogic
|
||||||
|
{
|
||||||
|
// List<ReportInterestLessonViewModel> GetInterestLesson(ReportBindingModel model);
|
||||||
|
List<ReportSalesSalonsFurnitureViewModel> GetInterestLesson(ReportBindingModel model);
|
||||||
|
|
||||||
|
|
||||||
|
List<ReportSalesSalonViewModel> GetInterests(ReportBindingModel model);
|
||||||
|
List<ReportHeadsetMaterialViewModel> GetDiyMaterial(ReportBindingModel model);
|
||||||
|
|
||||||
|
|
||||||
|
List<ReportFurnitureHeadsetModuleViewModel> GetLessonTask(ReportBindingModel model);
|
||||||
|
|
||||||
|
|
||||||
|
void SaveInterestLessonToWordFile(ReportBindingModel model);
|
||||||
|
|
||||||
|
|
||||||
|
void SaveInterestLessonToExcelFile(ReportBindingModel model);
|
||||||
|
|
||||||
|
|
||||||
|
void SaveInterestsToPdfFile(ReportBindingModel model);
|
||||||
|
|
||||||
|
void SaveDiyMaterialToWordFile(ReportBindingModel model);
|
||||||
|
|
||||||
|
|
||||||
|
void SaveDiyMaterialToExcelFile(ReportBindingModel model);
|
||||||
|
|
||||||
|
|
||||||
|
void SaveLessonTaskToPdfFile(ReportBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user