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,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
};
}
}