kreta/Kreta.WebApi/Naplo/Kreta.Naplo.Domain/V2/Model/Get/Tanmenet/TanmenetItemGetResponse.cs
2024-03-13 00:33:46 +01:00

25 lines
779 B
C#

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
};
}
}