init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Naplo.Domain.V3.Ora;
|
||||
using Kreta.Naplo.Dto.V3.Documentation;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.Ora
|
||||
{
|
||||
public class FeljegyzesResponseDto
|
||||
{
|
||||
|
||||
[Required, Description(DescriptionLookUp.FeljegyzesId)]
|
||||
public int Id { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.FeljegyzesTipus)]
|
||||
public int Tipus { get; set; }
|
||||
|
||||
public static implicit operator FeljegyzesResponseDto(FeljegyzesResponse model) => new FeljegyzesResponseDto
|
||||
{
|
||||
Id = model.Id,
|
||||
Tipus = model.Tipus
|
||||
};
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user