init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Naplo.Domain.V3.Csatolmany;
|
||||
using Kreta.Naplo.Dto.V3.Documentation;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.Csatolmany
|
||||
{
|
||||
public class CsatolmanyResponseDto
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.CsatolmanyId)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.CsatolmanyNev)]
|
||||
public string Nev { get; set; }
|
||||
|
||||
public static implicit operator CsatolmanyResponseDto(CsatolmanyResponse model) => model == null ? null : new CsatolmanyResponseDto
|
||||
{
|
||||
Id = model.Id,
|
||||
Nev = model.Nev
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue