init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo;
|
||||
using Kreta.Naplo.Domain.V2.Model.Converter;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanulo
|
||||
{
|
||||
public class OsztalyTanuloiResponse
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Nev { get; set; }
|
||||
public List<TanuloResponse> TanuloLista { get; set; }
|
||||
|
||||
public static implicit operator OsztalyTanuloiResponse(OsztalyTanuloiResponseCo co) => new OsztalyTanuloiResponse
|
||||
{
|
||||
Id = co.Id,
|
||||
Nev = co.Nev,
|
||||
TanuloLista = co.TanuloLista.ConvertAll(GetModelConverter.CoToModel)
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user