init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Ellenorzo.Domain.VN.Felhasznalo.Tanulo;
|
||||
using Kreta.Ellenorzo.Dto.VN.Documentation;
|
||||
|
||||
namespace Kreta.Ellenorzo.Dto.VN.Felhasznalo.Tanulo
|
||||
{
|
||||
public class GondviseloGetResponseDto
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.ResponseModelEgyediAzonosito)]
|
||||
public string Uid { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.ResponseModelEgyediAzonosito)]
|
||||
public Guid IdpUniqueId { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.FelhasznalonakANeve)]
|
||||
[Required] public string Nev { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.FelhasznalonakAzEmailCime + "; ha null, akkor nincs megadva")]
|
||||
public string EmailCim { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.FelhasznalonakATelefonszama + "; ha null, akkor nincs megadva")]
|
||||
public string Telefonszam { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.IsTorvenyesKepviselo)]
|
||||
public bool IsTorvenyesKepviselo { get; set; }
|
||||
|
||||
public static implicit operator GondviseloGetResponseDto(GondviseloGetResponse model) => model == null ? null : new GondviseloGetResponseDto
|
||||
{
|
||||
Uid = model.Uid.UidRaw,
|
||||
IdpUniqueId = model.IdpUniqueId,
|
||||
Nev = model.Nev,
|
||||
EmailCim = model.EmailCim,
|
||||
Telefonszam = model.Telefonszam,
|
||||
IsTorvenyesKepviselo = model.IsTorvenyesKepviselo
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue