init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue