init
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Enum;
|
||||
using Kreta.Enums.ManualEnums.WebApi.Naplo;
|
||||
using Kreta.Naplo.Domain.V2.Interface;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.Enum
|
||||
{
|
||||
public class EnumRequest : IGetRequest
|
||||
{
|
||||
public string Hash { get; set; }
|
||||
public EngedelyezettEnumok EngedelyezettEnumName { get; set; }
|
||||
|
||||
public static implicit operator EnumRequestCo(EnumRequest model) => new EnumRequestCo
|
||||
{
|
||||
Hash = model.Hash,
|
||||
EngedelyezettEnum = (int)model.EngedelyezettEnumName
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user