80 lines
3.4 KiB
C#
80 lines
3.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Kreta.Core.CustomAttributes;
|
|
using Kreta.Core.SAP.CommunicationModels;
|
|
using Kreta.Resources;
|
|
|
|
namespace Kreta.BusinessLogic.HelperClasses
|
|
{
|
|
public class TavolletjelentoCO
|
|
{
|
|
#region Fields
|
|
|
|
/// <summary>
|
|
/// Technikai paraméter(ek) a reflection-ös exporthoz.
|
|
/// </summary>
|
|
public const string ExportPropertyId = nameof(ExportPropertyId);
|
|
|
|
#endregion Fields
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 00, nameof(HRModulResource.TavolletOka), typeof(HRModulResource))]
|
|
public string TavolletOka { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 01, nameof(HRModulResource.Alkalmazott), typeof(HRModulResource))]
|
|
public string AlkalmazottNeve { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 02, nameof(HRModulResource.SzTSzAzonosito), typeof(HRModulResource))]
|
|
public string SzTSzAzonosito { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 03, nameof(HRModulResource.RogzitesDatuma), typeof(HRModulResource))]
|
|
public DateTime RogzitesDatuma { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 04, nameof(HRModulResource.RogzitoNeve), typeof(HRModulResource))]
|
|
public string RogzitoNeve { get; set; }
|
|
public int? ID { get; set; }
|
|
public int? AlkalmazottId { get; set; }
|
|
public int RogzitoId { get; set; }
|
|
public int StatuszId { get; set; }
|
|
public int TavolletOkaId { get; set; }
|
|
public string[] AlkalmazottList { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 05, nameof(HRModulResource.MelleklettelRendelkezik), typeof(HRModulResource))]
|
|
public bool MelleklettelRendelkezik { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 06, nameof(HRModulResource.Statusz), typeof(HRModulResource))]
|
|
public string StatuszNeve { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 07, nameof(HRModulResource.Torolt), typeof(HRModulResource))]
|
|
public bool Torolt { get; set; }
|
|
|
|
public string HianypotlasSzoveg { get; set; }
|
|
public string KozpontiHianypotlasSzoveg { get; set; }
|
|
public string Megjegyzes { get; set; }
|
|
public IList<TavolletStatuszLogData> MegjegyzesekList { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 08, nameof(HRModulResource.TavolletKezdet), typeof(HRModulResource))]
|
|
public DateTime TavolletKezdet { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 09, nameof(HRModulResource.TavolletVeg), typeof(HRModulResource))]
|
|
public DateTime TavolletVeg { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 10, nameof(HRModulResource.TavolletIdotartamNap), typeof(HRModulResource))]
|
|
public int TavolletIdotartamNap { get; set; }
|
|
|
|
[SimpleExportColumn(ExportPropertyId, 11, nameof(HRModulResource.HatralevoSzabadnapokSzama), typeof(HRModulResource))]
|
|
public int? HatralevoNapokSzama { get; set; }
|
|
|
|
public List<CsatolmanyCO> FilesArray { get; set; }
|
|
|
|
/// <summary>
|
|
/// Távollétigény rögzítésekor intézményvezetőnél egyből elfogadásra kerülnek az általa rögzített igények és bekerülnek a központiba!
|
|
/// </summary>
|
|
public bool IsIntezmenyvezetoiRogzites { get; set; }
|
|
}
|
|
|
|
public class CsatolmanyCO
|
|
{
|
|
public string Name { get; set; }
|
|
public string ContentAsBase64EncodedString { get; set; }
|
|
}
|
|
}
|