init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet;
|
||||
using static Kreta.Naplo.Domain.V2.Model.Converter.PostModelConverter;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanmenet
|
||||
{
|
||||
public class TanmenetGetRequest
|
||||
{
|
||||
public TanmenetKeyGetRequest[] Key { get; set; }
|
||||
|
||||
public static implicit operator TanmenetGetRequestCo(TanmenetGetRequest model) => new TanmenetGetRequestCo
|
||||
{
|
||||
Key = ModelToCo(model.Key)
|
||||
};
|
||||
}
|
||||
}
|
|
@ -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)
|
||||
};
|
||||
}
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanmenet
|
||||
{
|
||||
public class TanmenetItemGetResponse
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Megjegyzes { get; set; }
|
||||
public string Nev { get; set; }
|
||||
public string RovidNev { get; set; }
|
||||
public string Tema { get; set; }
|
||||
public int EvesOraszam { get; set; }
|
||||
|
||||
public static implicit operator TanmenetItemGetResponse(TanmenetItemGetResponseCo co) => new TanmenetItemGetResponse
|
||||
{
|
||||
Id = co.Id,
|
||||
Megjegyzes = co.Megjegyzes,
|
||||
Nev = co.Nev,
|
||||
RovidNev = co.RovidNev,
|
||||
Tema = co.Tema,
|
||||
EvesOraszam = co.EvesOraszam
|
||||
|
||||
};
|
||||
}
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanmenet;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanmenet
|
||||
{
|
||||
public class TanmenetKeyGetRequest
|
||||
{
|
||||
public int OsztalyCsoportId { get; set; }
|
||||
public int TantargyId { get; set; }
|
||||
public int FeltoltoTanarId { get; set; }
|
||||
|
||||
public static implicit operator TanmenetKeyGetRequestCo(TanmenetKeyGetRequest model) => new TanmenetKeyGetRequestCo
|
||||
{
|
||||
OsztalyCsoportId = model.OsztalyCsoportId,
|
||||
TantargyId = model.TantargyId,
|
||||
FeltoltoTanarId = model.FeltoltoTanarId
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue