init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
31
Kreta.BusinessLogic/HelperClasses/TanuloTantargyiAtlagCo.cs
Normal file
31
Kreta.BusinessLogic/HelperClasses/TanuloTantargyiAtlagCo.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Kreta.BusinessLogic.Classes;
|
||||
|
||||
namespace Kreta.BusinessLogic.HelperClasses
|
||||
{
|
||||
public class TanuloTantargyiAtlagCo
|
||||
{
|
||||
public int TanuloId { get; set; }
|
||||
|
||||
public string TanuloNev { get; set; }
|
||||
|
||||
public string TanuloOktatasiAzonosito { get; set; }
|
||||
|
||||
public string TanuloSzuletesiHely { get; set; }
|
||||
|
||||
public DateTime TanuloSzuletesiIdo { get; set; }
|
||||
|
||||
public string TanuloAnyjaNeve { get; set; }
|
||||
|
||||
public int TantargyId { get; set; }
|
||||
|
||||
public string TantargyNev { get; set; }
|
||||
|
||||
public string OsztalyCsoportNev { get; set; }
|
||||
|
||||
public List<(int Osztalyzat, int? Suly)> TanuloErtekelesOsztalyzatList { get; set; }
|
||||
|
||||
public double Atlag => TanuloErtekelesOsztalyzatList.Count > 0 ? TanuloErtekelesOsztalyzatList.WeightedAverage(x => x.Osztalyzat, x => x.Suly ?? 100, 2) ?? 0.00 : 0.00;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue