87 lines
4 KiB
C#
87 lines
4 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using Kreta.BusinessLogic.Interfaces;
|
|
using Kreta.Resources;
|
|
using Kreta.Web.Attributes;
|
|
|
|
namespace Kreta.Web.Areas.Hianyzas.Models.Mulasztasok
|
|
{
|
|
public class MulasztasokTanuloNezetGridModel : IKretaIdentity
|
|
{
|
|
public string ID { get; set; }
|
|
|
|
public int TanuloId { get; set; }
|
|
|
|
[KretaDisplayName(455)] /*Tanuló neve*/
|
|
public string TanuloNev { get; set; }
|
|
public int OsztalyCsoportId { get; set; }
|
|
|
|
//Tanórai hiányzás
|
|
[Display(Name = nameof(HianyzasResource.Osszes), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoraiHianyzasOsszes { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolt), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoraiHianyzasIgazolt { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolatlan), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoraiHianyzasIgazolatlan { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolando), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoraiHianyzasIgazolando { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Potlas), ResourceType = typeof(OrarendResource))]
|
|
public int Potlas { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Szabadsag), ResourceType = typeof(OrarendResource))]
|
|
public int Szabadsag { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Tappenz), ResourceType = typeof(OrarendResource))]
|
|
public int Tappenz { get; set; }
|
|
|
|
[Display(Name = nameof(OrarendResource.Betegszabadsag), ResourceType = typeof(OrarendResource))]
|
|
public int BetegSzabadsag { get; set; }
|
|
|
|
//Tanórán kívüli
|
|
[Display(Name = nameof(HianyzasResource.Osszes), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoranKivuliHianyzasOsszes { get; set; }
|
|
|
|
//Tanórán kívüli
|
|
[Display(Name = nameof(HianyzasResource.Igazolt), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoranKivuliHianyzasIgazolt { get; set; }
|
|
|
|
//Tanórán kívüli
|
|
[Display(Name = nameof(HianyzasResource.Igazolatlan), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoranKivuliHianyzasIgazolatlan { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolando), ResourceType = typeof(HianyzasResource))]
|
|
public int TanoranKivuliHianyzasIgazolando { get; set; }
|
|
|
|
//Tanórai késés
|
|
[Display(Name = nameof(HianyzasResource.Osszes), ResourceType = typeof(HianyzasResource))]
|
|
public string TanoraiKesesOsszes { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolt), ResourceType = typeof(HianyzasResource))]
|
|
public string TanoraiKesesIgazolt { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolatlan), ResourceType = typeof(HianyzasResource))]
|
|
public string TanoraiKesesIgazolatlan { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolando), ResourceType = typeof(HianyzasResource))]
|
|
public string TanoraiKesesIgazolando { get; set; }
|
|
|
|
//Tanórai késésekből számítandó hiányzás
|
|
[Display(Name = nameof(HianyzasResource.Osszes), ResourceType = typeof(HianyzasResource))]
|
|
public int SzamitottKesesOsszes { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolt), ResourceType = typeof(HianyzasResource))]
|
|
public int SzamitottKesesIgazolt { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolatlan), ResourceType = typeof(HianyzasResource))]
|
|
public int SzamitottKesesIgazolatlan { get; set; }
|
|
|
|
[Display(Name = nameof(HianyzasResource.Igazolando), ResourceType = typeof(HianyzasResource))]
|
|
public int SzamitottKesesIgazolando { get; set; }
|
|
public bool GridHasDelete { get; set; } = true;
|
|
public string ApiControllerName { get; set; } = Constants.ApiControllers.MulasztasokApi;
|
|
public int? SzervezetTipusId { get; set; }
|
|
}
|
|
}
|