init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
53
Kreta.BusinessLogic/HelperClasses/EszkozIgenylesItemCo.cs
Normal file
53
Kreta.BusinessLogic/HelperClasses/EszkozIgenylesItemCo.cs
Normal file
|
@ -0,0 +1,53 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
using Kreta.Core;
|
||||
using Kreta.Core.CustomAttributes;
|
||||
using Kreta.Resources;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class EszkozIgenylesItemCo
|
||||
{
|
||||
public const string AlkalmazottEszkozIRExportAttributeId = nameof(AlkalmazottEszkozIRExportAttributeId);
|
||||
|
||||
#region Fields
|
||||
public int Id { get; set; }
|
||||
|
||||
[SimpleExportColumn(AlkalmazottEszkozIRExportAttributeId, 00, nameof(AlkalmazottResource.PedagogusNeve), typeof(AlkalmazottResource))]
|
||||
public string FelhasznaloNyomtatasiNev { get; set; }
|
||||
|
||||
[SimpleExportColumn(AlkalmazottEszkozIRExportAttributeId, 01, nameof(AlkalmazottResource.PedagogusOktatasiAzonositoja), typeof(AlkalmazottResource))]
|
||||
public string FelhasznaloOktatasiAzonosito { get; set; }
|
||||
|
||||
public bool HasTanarAlkalmazottMunkakorTipus { get; set; }
|
||||
|
||||
public bool HasEszkozIgenyles { get; set; }
|
||||
|
||||
public bool HasBelepes { get; set; }
|
||||
|
||||
public bool HasNaploSzerepkor { get; set; }
|
||||
|
||||
public int MunkakorTipusaId { get; set; }
|
||||
|
||||
#endregion Fields
|
||||
|
||||
public EszkozIgenylesItemCo() { }
|
||||
|
||||
public EszkozIgenylesItemCo(DataRow dataRow)
|
||||
{
|
||||
Id = SDAConvert.ToInt32(dataRow["Id"]);
|
||||
FelhasznaloNyomtatasiNev = SDAConvert.ToString(dataRow["Nyomtatasinev"], null).ReplaceMultipleSpacesAndTrim();
|
||||
FelhasznaloOktatasiAzonosito = SDAConvert.ToString(dataRow["OktatasiAznosito"], null).ReplaceMultipleSpacesAndTrim();
|
||||
HasTanarAlkalmazottMunkakorTipus = SDAConvert.ToBooleanFromTF(dataRow["HasTanarAlkalmazottMunkakorTipus"]);
|
||||
HasEszkozIgenyles = SDAConvert.ToBooleanFromTF(dataRow["HasEszkozIgenyles"]);
|
||||
HasBelepes = SDAConvert.ToBooleanFromTF(dataRow["HasBelepes"]);
|
||||
HasNaploSzerepkor = SDAConvert.ToBooleanFromTF(dataRow["HasNaploSzerepkor"]);
|
||||
MunkakorTipusaId = SDAConvert.ToInt32(dataRow["MunkakorTipusaId"]);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue