init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Ellenorzo.Domain.VN.Terem;
|
||||
using Kreta.Ellenorzo.Dto.VN.Documentation;
|
||||
|
||||
namespace Kreta.Ellenorzo.Dto.VN.Terem
|
||||
{
|
||||
public class TeremSimplifiedResponseDto
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.ResponseModelEgyediAzonosito)]
|
||||
public string Uid { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.TeremNeve)]
|
||||
public string Nev { get; set; }
|
||||
|
||||
public static implicit operator TeremSimplifiedResponseDto(TeremSimplifiedResponse model)
|
||||
{
|
||||
return model == null ? null : new TeremSimplifiedResponseDto
|
||||
{
|
||||
Uid = model.Uid.UidRaw,
|
||||
Nev = model.Nev
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue