init
This commit is contained in:
@@ -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)
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user