init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.OpenBoard;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.OpenBoard
|
||||
{
|
||||
public class FeltolthetoFajlokSzamaRequest
|
||||
{
|
||||
public int? OrarendiOraId { get; set; }
|
||||
public int? TanitasiOraId { get; set; }
|
||||
|
||||
public static implicit operator FeltolthetoFajlokSzamaRequestCo(FeltolthetoFajlokSzamaRequest model) => new FeltolthetoFajlokSzamaRequestCo
|
||||
{
|
||||
OrarendiOraId = model.OrarendiOraId,
|
||||
TanitasiOraId = model.TanitasiOraId
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.OpenBoard;
|
||||
using Kreta.Core.Validation.Exceptions;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.OpenBoard
|
||||
{
|
||||
public class FeltolthetoFajlokSzamaResponse
|
||||
{
|
||||
public int FeltolthetoFajlokSzama { get; set; }
|
||||
public ValidationException Exception { get; set; }
|
||||
|
||||
public static implicit operator FeltolthetoFajlokSzamaResponse(FeltolthetoFajlokSzamaResponseCo co) => new FeltolthetoFajlokSzamaResponse
|
||||
{
|
||||
FeltolthetoFajlokSzama = co.FeltolthetoFajlokSzama,
|
||||
Exception = co.Exception
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user