kreta/Kreta.WebApi/Naplo/Kreta.Naplo.Domain/V2/Model/Post/Naplozas/OraNaplozasResponse.cs
2024-03-13 00:33:46 +01:00

18 lines
527 B
C#

using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Post.Naplozas;
using Kreta.Core.Validation.Exceptions;
namespace Kreta.Naplo.Domain.V2.Model.Post.Naplozas
{
public class OraNaplozasResponse
{
public int MobilId { get; set; }
public ValidationException Exception { get; set; }
public static implicit operator OraNaplozasResponse(OraNaplozasResponseCo co) => new OraNaplozasResponse
{
MobilId = co.MobilId,
Exception = co.Exception
};
}
}