This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,46 @@
using System;
using Kreta.DataAccess.Interfaces;
using Kreta.Ellenorzo.Dao.VN.FeltoltottFajl;
namespace Kreta.BusinessLogic.HelperClasses
{
public class OpenBoardFileCo
{
public int ID { get; set; }
public int FileId { get; set; }
public DateTime FeltoltesDatuma { get; set; }
public string Utvonal { get; set; }
public string Nev { get; set; }
public string Megjegyzes { get; set; }
public string Kiterjesztes { get; set; }
public Guid? Guid { get; set; }
public byte[] Content { get; set; }
public bool Lathato { get; set; }
public OpenBoardFileCo(IOraFile oraFileEntity)
{
ID = oraFileEntity.ID;
FileId = oraFileEntity.DKT_File.ID;
FeltoltesDatuma = oraFileEntity.DKT_File.FeltoltesDatum;
Utvonal = oraFileEntity.DKT_File.Utvonal;
Nev = oraFileEntity.DKT_File.FileNev;
Megjegyzes = oraFileEntity.Megjegyzes;
Kiterjesztes = oraFileEntity.DKT_File.Extension;
Guid = oraFileEntity.DKT_File.FileGuid;
Lathato = oraFileEntity.IsTanuloLathato;
}
public OpenBoardFileCo(FileKeresesResponseDao dao)
{
ID = dao.Id;
FileId = dao.FileId;
FeltoltesDatuma = dao.FeltoltesDatuma;
Utvonal = dao.Utvonal;
Nev = dao.Nev;
Megjegyzes = dao.Megjegyzes;
Kiterjesztes = dao.Kiterjesztes;
Guid = dao.Guid;
Lathato = dao.Megjelenitett;
}
}
}