init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,24 @@
|
|||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Naplo.Domain.V3.Tanar;
|
||||
using Kreta.Naplo.Dto.V3.Documentation;
|
||||
using Swashbuckle.Examples;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.Tanar
|
||||
{
|
||||
public class BeallitasokRequestDto : IExamplesProvider
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.ElozoOranHianyzoAjanlasa)]
|
||||
public bool ElozoOranHianyzoAjanlasa { get; set; }
|
||||
|
||||
public static implicit operator BeallitasokRequest(BeallitasokRequestDto dto) => new BeallitasokRequest
|
||||
{
|
||||
ElozoOranHianyzoAjanlasa = dto.ElozoOranHianyzoAjanlasa
|
||||
};
|
||||
|
||||
public object GetExamples() => new BeallitasokRequestDto
|
||||
{
|
||||
ElozoOranHianyzoAjanlasa = true
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue