26 lines
746 B
C#
26 lines
746 B
C#
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
|
|
};
|
|
}
|
|
}
|