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,16 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Kreta.Resources;
using Kreta.Web.Areas.ImportExport.Models.CommonModels;
namespace Kreta.Web.Areas.ImportExport.Models.TantargyfelosztasImportExport
{
public class TantargyfelosztasImportExportModel : BaseImportExportModel
{
[Required(ErrorMessageResourceName = nameof(ErrorResource.Required), ErrorMessageResourceType = typeof(ErrorResource))]
[Display(Name = nameof(CommonResource.Feladatellatasihely), ResourceType = typeof(CommonResource))]
public int? FeladatellatasiHelyId { get; set; }
public IEnumerable<string> AscAllowedFileExtensions { get; set; }
}
}

View file

@ -0,0 +1,14 @@
using Kreta.Web.Areas.ImportExport.Models.BaseTantargyfelosztasImportExport;
using Kreta.Web.Areas.ImportExport.Models.CommonModels;
namespace Kreta.Web.Areas.ImportExport.Models.TantargyfelosztasImportExport
{
public class TantargyfelosztasImportInfoModel : BaseTantargyfelosztasImportInfoModel
{
public ImportInfoSummaryListModel ImportInfoSummaryList { get; set; }
public TantargyfelosztasImportItemListModel MainImportItemList { get; set; }
public TantargyfelosztasImportNemImportalhatoItemListModel NemImportalhatoItemList { get; set; }
}
}

View file

@ -0,0 +1,9 @@
using System.Collections.Generic;
namespace Kreta.Web.Areas.ImportExport.Models.TantargyfelosztasImportExport
{
public class TantargyfelosztasImportItemListModel
{
public List<TantargyfelosztasImportItemModel> ImportItemModelList { get; set; } = new List<TantargyfelosztasImportItemModel>();
}
}

View file

@ -0,0 +1,35 @@
using Kreta.BusinessLogic.Classes;
using Kreta.Enums.ManualEnums.ImportExport;
using Kreta.Web.Security;
namespace Kreta.Web.Areas.ImportExport.Models.TantargyfelosztasImportExport
{
public class TantargyfelosztasImportItemModel
{
public string Nev { get; set; }
public string OsztalyCsoportNev { get; set; }
public string TantargyNev { get; set; }
public string TanarNev { get; set; }
public double Oraszam { get; set; }
public double Tuloraszam { get; set; }
public bool IsOsszevontOra { get; set; }
public string IsOsszevontOraText => IsOsszevontOra.GetDisplayName();
public bool IsNemzetisegiOra { get; set; }
public string IsNemzetisegiOraText => IsNemzetisegiOra.GetDisplayName();
public double MegbizasiOraszam { get; set; }
public int Operation { get; set; }
public string OperationText => Operation.GetDisplayName<ImportItemOperationEnum>(ClaimData.SelectedTanevID.Value);
}
}

View file

@ -0,0 +1,11 @@
using System.Collections.Generic;
namespace Kreta.Web.Areas.ImportExport.Models.TantargyfelosztasImportExport
{
public class TantargyfelosztasImportNemImportalhatoItemListModel
{
public List<TantargyfelosztasImportNemImportalhatoItemModel> NemImportalhatoItemModelList { get; set; } = new List<TantargyfelosztasImportNemImportalhatoItemModel>();
public int TantargyfelosztasImportTipus { get; set; }
}
}

View file

@ -0,0 +1,25 @@
namespace Kreta.Web.Areas.ImportExport.Models.TantargyfelosztasImportExport
{
public class TantargyfelosztasImportNemImportalhatoItemModel
{
public string OsztalyNevImportData { get; set; }
public string CsoportNevImportData { get; set; }
public string TantargyNevImportData { get; set; }
public string OraszamImportData { get; set; }
public string TanarNevImportData { get; set; }
public string TuloraImportData { get; set; }
public string TtfOraszamKorrekcioImportData { get; set; }
public string NemzetisegiOraImportData { get; set; }
public string MegbizasiOraszamImportData { get; set; }
public string ErrorList { get; set; }
}
}