42 lines
1.4 KiB
C#
42 lines
1.4 KiB
C#
using System;
|
|
using System.Data;
|
|
using Kreta.BusinessLogic.Classes;
|
|
using Kreta.BusinessLogic.Utils;
|
|
using Kreta.Core;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class HaziFeladatCsatolmanyItemCo : HaziFeladatBaseItemCo
|
|
{
|
|
public HaziFeladatCsatolmanyItemCo(DataRow row) : base(row)
|
|
{
|
|
FajlNev = SDAConvert.ToString(row["FajlNev"]).ReplaceMultipleSpacesAndTrim();
|
|
FajlMeret = SDAConvert.ToDouble(row["FajlMeret"]);
|
|
FeltoltesDatuma = SDAConvert.ToDateTime(row["FeltoltesDatum"]);
|
|
Torolt = SDAConvert.ToBooleanFromTF(row["Torolt"]);
|
|
TorloFelhasznaloNev = SDAConvert.ToString(row["TorloUser"]).ReplaceMultipleSpacesAndTrim();
|
|
TorlesDatuma = SDAConvert.ToDateTime(row["TorlesDatum"]);
|
|
IsOnlineOraText = SDAConvert.ToString(row["IsOnlineOra_BNAME"]).ReplaceMultipleSpacesAndTrim();
|
|
}
|
|
|
|
public string FajlNev { get; set; }
|
|
|
|
public double FajlMeret { get; set; }
|
|
|
|
public double FajlMeretMB => CommonUtils.ConvertByteToMByte(FajlMeret);
|
|
|
|
public DateTime? FeltoltesDatuma { get; set; }
|
|
|
|
public bool Torolt { get; set; }
|
|
|
|
public bool AdminTorolt { get; set; }
|
|
|
|
public bool FileServiceTorolt { get; set; }
|
|
|
|
public string TorloFelhasznaloNev { get; set; }
|
|
|
|
public DateTime? TorlesDatuma { get; set; }
|
|
|
|
public string IsOnlineOraText { get; set; }
|
|
}
|
|
}
|