init
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo;
|
||||
using Kreta.Naplo.Domain.V2.Model.CustomEnum;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanulo
|
||||
{
|
||||
public class MulasztasResponse
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public NaploEnum Tipus { get; set; }
|
||||
public int? Keses { get; set; }
|
||||
public int TanuloId { get; set; }
|
||||
|
||||
public static implicit operator MulasztasResponse(MulasztasResponseCo co) => new MulasztasResponse
|
||||
{
|
||||
Id = co.Id,
|
||||
Tipus = NaploEnum.Create(co.Tipus),
|
||||
Keses = co.Keses,
|
||||
TanuloId = co.TanuloId
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user