2025-04-15 12:10:19 +02:00

27 lines
834 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace SmartZip.Logic
{
public class ReportDaProcessare
{
public int IdReport { get; set; }
public string NomeFile { get; set; }
public string TipoReport { get; set; }
public string NomeFileLocale { get; set; }
public Boolean isCopiatoInZip { get; set; }
public ReportDaProcessare(int idReport,string nomeFile, string tipoReport,string nomeFileLocale)
{
IdReport = idReport;
if (!nomeFile.EndsWith(".pdf")) nomeFile += ".pdf";
NomeFile = nomeFile;
TipoReport = tipoReport;
if (!nomeFileLocale.EndsWith(".pdf")) nomeFileLocale += ".pdf";
NomeFileLocale = nomeFileLocale;
isCopiatoInZip = false;
}
}
}