init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,32 @@
|
|||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Naplo.Domain.V3.OsztalyCsoport;
|
||||
using Kreta.Naplo.Dto.V3.Documentation;
|
||||
using Kreta.Naplo.Dto.V3.Interfaces;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.OsztalyCsoport
|
||||
{
|
||||
public class MondatbankResponseDto : IDtoListDocumentation
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.RovidNev)]
|
||||
public string RovidNev { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.Nev)]
|
||||
public string Nev { get; set; }
|
||||
|
||||
public DocumentationExampleDto ListExample
|
||||
=> new DocumentationExampleDto(
|
||||
"GetMondatbank",
|
||||
new MondatbankRequestDto
|
||||
{
|
||||
TantargyId = 414771,
|
||||
OsztalyCsoportId = 130796
|
||||
});
|
||||
|
||||
public static implicit operator MondatbankResponseDto(MondatbankResponse model) => new MondatbankResponseDto
|
||||
{
|
||||
RovidNev = model.RovidNev,
|
||||
Nev = model.Nev
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue