init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using Kreta.BusinessLogic.Interfaces;
|
||||
using Kreta.Core.CustomAttributes;
|
||||
using Kreta.Resources;
|
||||
|
||||
namespace Kreta.Web.Areas.DualisKepzes.Models
|
||||
{
|
||||
public class BaseDualisSzerzodesGridModel : IKretaIdentity
|
||||
{
|
||||
public const string DualisSzerzodesListajaExportAttributeId = nameof(DualisSzerzodesListajaExportAttributeId);
|
||||
|
||||
public string ID { get; set; }//TanuloId
|
||||
|
||||
[SimpleExportColumn(DualisSzerzodesListajaExportAttributeId, 00, nameof(TanuloResource.TanuloNeve), typeof(TanuloResource))]
|
||||
[Display(Name = nameof(TanuloResource.TanuloNeve), ResourceType = typeof(TanuloResource))]
|
||||
public string TanuloNev { get; set; }
|
||||
|
||||
[SimpleExportColumn(DualisSzerzodesListajaExportAttributeId, 01, nameof(TanuloResource.AnyjaNeve), typeof(TanuloResource))]
|
||||
[Display(Name = nameof(TanuloResource.AnyjaNeve), ResourceType = typeof(TanuloResource))]
|
||||
public string AnyaNev { get; set; }
|
||||
|
||||
[SimpleExportColumn(DualisSzerzodesListajaExportAttributeId, 02, nameof(TanuloResource.SzuletesiHely), typeof(TanuloResource))]
|
||||
[Display(Name = nameof(TanuloResource.SzuletesiHely), ResourceType = typeof(TanuloResource))]
|
||||
public string SzuletesiHelye { get; set; }
|
||||
|
||||
[SimpleExportColumn(DualisSzerzodesListajaExportAttributeId, 03, nameof(TanuloResource.SzuletesiDatuma), typeof(TanuloResource))]
|
||||
[Display(Name = nameof(TanuloResource.SzuletesiDatuma), ResourceType = typeof(TanuloResource))]
|
||||
public DateTime? SzuletesiDatum { get; set; }
|
||||
|
||||
[SimpleExportColumn(DualisSzerzodesListajaExportAttributeId, 04, nameof(TanuloResource.OktatasiAzonosito), typeof(TanuloResource))]
|
||||
[Display(Name = nameof(TanuloResource.OktatasiAzonosito), ResourceType = typeof(TanuloResource))]
|
||||
public string OktatasiAzonosito { get; set; }
|
||||
|
||||
[SimpleExportColumn(DualisSzerzodesListajaExportAttributeId, 09, nameof(TanarResource.FeltoltesDatum), typeof(TanarResource))]
|
||||
[Display(Name = nameof(TanarResource.FeltoltesDatum), ResourceType = typeof(TanarResource))]
|
||||
public DateTime? FeltoltesDatuma { get; set; }
|
||||
|
||||
public int? SzerzodesFileId { get; set; }
|
||||
public int? FileId { get; set; }
|
||||
public string FileNev { get; set; }
|
||||
public string FeltoltesDatumaStr => FeltoltesDatuma.HasValue ? FeltoltesDatuma.Value.ToString(Kreta.Core.Constants.ToStringPattern.HungarianDateTimeWithoutSeconds) : string.Empty;
|
||||
public int? FeltoltoId { get; set; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue