This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,30 @@
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Kreta.Naplo.Domain.V3.Ertekeles;
using Kreta.Naplo.Dto.V3.Documentation;
namespace Kreta.Naplo.Dto.V3.Tanulo
{
public class TanuloMentessegResponseDto
{
[Required, Description(DescriptionLookUp.ErtekelesAloliFelmentes)]
public bool ErtekelesAloliFelmentes { get; set; }
[Required, Description(DescriptionLookUp.TanoraLatogatasaAloliFelmentes)]
public bool TanoraLatogatasaAloliFelmentes { get; set; }
[Required, Description(DescriptionLookUp.SzovegesenErtekelheto)]
public bool SzovegesenErtekelheto { get; set; }
[Required, Description(DescriptionLookUp.FelmentesOka)]
public string FelmentesOka { get; set; }
public static implicit operator TanuloMentessegResponseDto(TanuloMentessegResponse model) => new TanuloMentessegResponseDto
{
ErtekelesAloliFelmentes = model.ErtekelesAloliFelmentes,
TanoraLatogatasaAloliFelmentes = model.TanoraLatogatasaAloliFelmentes,
SzovegesenErtekelheto = model.SzovegesenErtekelheto,
FelmentesOka = model.FelmentesOka
};
}
}