init
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
namespace Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Enum;
|
||||
using Kreta.Resources;
|
||||
|
||||
public static class Constant
|
||||
{
|
||||
private static readonly Dictionary<JavasoltJelenletTemplateType, string> megjegyzesByJavasoltJelenletTemplateTypeDictionary = new Dictionary<JavasoltJelenletTemplateType, string>
|
||||
{
|
||||
{ JavasoltJelenletTemplateType.Igazolas, NaploApiResource.ATanulonakIgazolasLettRogzitve },
|
||||
{ JavasoltJelenletTemplateType.ElozoOranHianyzott, NaploApiResource.ElozoOranHianyzott },
|
||||
{ JavasoltJelenletTemplateType.ParhuzamosOranNaplozott, NaploApiResource.ParuzamosOranMarNaploztak },
|
||||
{ JavasoltJelenletTemplateType.Felmentes, NaploApiResource.ATanulonakFelmenteseVan },
|
||||
{ JavasoltJelenletTemplateType.SzakmaiGyakorlat, NaploApiResource.SzakmaiGyakorlatonJelenlevo },
|
||||
{ JavasoltJelenletTemplateType.JogviszonySzuneteltetes, NaploApiResource.JogviszonySzunetelteto },
|
||||
{ JavasoltJelenletTemplateType.MagantanuloOralatogatasAloliMentesseg, NaploApiResource.Magantanulo }
|
||||
};
|
||||
|
||||
public static string GetMegjegyzesByJavasoltJelenletTemplateType(JavasoltJelenletTemplateType tipus)
|
||||
{
|
||||
return megjegyzesByJavasoltJelenletTemplateTypeDictionary.TryGetValue(tipus, out string value) ? value : null;
|
||||
}
|
||||
|
||||
public static readonly int FeltolthetoFajlokMaxSzama = 25;
|
||||
public static readonly string DateTimeFormat = "yyyyMMdd_HHmm";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user