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,21 @@
using System.Collections.Generic;
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet;
using static Kreta.Naplo.Domain.V2.Model.Converter.GetModelConverter;
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanmenet
{
public class TanmenetGetResponse
{
public int OsztalyCsoportId { get; set; }
public int TantargyId { get; set; }
public int FeltoltoTanarId { get; set; }
public List<TanmenetItemGetResponse> Items { get; set; }
public static implicit operator TanmenetGetResponse(TanmenetGetResponseCo co) => new TanmenetGetResponse
{
OsztalyCsoportId = co.OsztalyCsoportId,
TantargyId = co.TantargyId,
FeltoltoTanarId = co.FeltoltoTanarId,
Items = CoToModel(co.Items)
};
}
}