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,54 @@
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Kreta.Ellenorzo.Domain.VN.Felhasznalo.Gondviselo;
using Kreta.Ellenorzo.Dto.VN.Documentation;
using Kreta.Ellenorzo.Dto.VN.Interfaces;
namespace Kreta.Ellenorzo.Dto.VN.Felhasznalo.Gondviselo
{
public class GondviseloAdatokResponseDto : IDtoDocumentation
{
[Required, Description(DescriptionLookUp.FelhasznalonakANeve)]
public string Elotag { get; set; }
[Required, Description(DescriptionLookUp.FelhasznalonakANeve)]
public string Vezeteknev { get; set; }
[Required, Description(DescriptionLookUp.FelhasznaloSzuletesiNeve)]
public string SzuletesiVezeteknev { get; set; }
[Required, Description(DescriptionLookUp.FelhasznalonakANeve)]
public string Utonev { get; set; }
[Required, Description(DescriptionLookUp.FelhasznaloSzuletesiNeve)]
public string SzuletesiUtonev { get; set; }
[Required, Description(DescriptionLookUp.FelhasznaloAnyjaNeve)]
public string AnyjaVezeteknev { get; set; }
[Required, Description(DescriptionLookUp.FelhasznaloAnyjaNeve)]
public string AnyjaUtonev { get; set; }
[Required, Description(DescriptionLookUp.FelhasznaloSzuletesiHelye)]
public string SzuletesiHely { get; set; }
[Required, Description(DescriptionLookUp.FelhasznaloSzuletesiDatuma)]
public DateTime? SzuletesiDatum { get; set; }
public DocumentationExampleDto Example => new DocumentationExampleDto("GetGondviseloAdatlap", null);
public static implicit operator GondviseloAdatokResponseDto(GondviseloAdatokResponse model) => new GondviseloAdatokResponseDto
{
Elotag = model.Elotag,
Vezeteknev = model.Vezeteknev,
Utonev = model.Utonev,
SzuletesiVezeteknev = model.SzuletesiVezeteknev,
SzuletesiUtonev = model.SzuletesiUtonev,
AnyjaVezeteknev = model.AnyjaVezeteknev,
AnyjaUtonev = model.AnyjaUtonev,
SzuletesiHely = model.SzuletesiHely,
SzuletesiDatum = model.SzuletesiDatum
};
}
}