init
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System.ComponentModel;
|
||||
using Kreta.Naplo.Domain.V3.Ertekeles;
|
||||
using Kreta.Naplo.Dto.V3.Documentation;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.Ertekeles
|
||||
{
|
||||
public class ErtekelesRequestDto
|
||||
{
|
||||
[Description(DescriptionLookUp.OsztalyzatTipus)]
|
||||
public int OsztalyzatTipus { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.Szazalek)]
|
||||
public string Szazalek { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.Szoveg)]
|
||||
public string Szoveg { get; set; }
|
||||
|
||||
public static implicit operator ErtekelesRequest(ErtekelesRequestDto dto) => new ErtekelesRequest
|
||||
{
|
||||
OsztalyzatTipus = dto.OsztalyzatTipus,
|
||||
Szazalek = dto.Szazalek,
|
||||
Szoveg = dto.Szoveg
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user