init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
using Kreta.Naplo.Dto.V3.Documentation;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel;
|
||||
using System;
|
||||
using Kreta.Naplo.Domain.V3.OsztalyCsoport;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.OsztalyCsoport
|
||||
{
|
||||
public class TanuloErtekelesMentesRequestDto
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.ErtekelesDatuma)]
|
||||
public DateTime ErtekelesDatum { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.ErtekelesModId)]
|
||||
public int ErtekelesModId { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.ErtekelesTema)]
|
||||
public string ErtekelesTema { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.ErtekelesOsztalyzatId)]
|
||||
public int? ErtekelesOsztalyzatId { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.ErtekelesSzoveg)]
|
||||
public string ErtekelesSzoveg { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.ErtekelesSzazalek)]
|
||||
public int? ErtekelesSzazalek { get; set; }
|
||||
|
||||
public static implicit operator TanuloErtekelesMentesRequest(TanuloErtekelesMentesRequestDto dto) => new TanuloErtekelesMentesRequest
|
||||
{
|
||||
ErtekelesDatum = dto.ErtekelesDatum.ToLocalTime(),
|
||||
ErtekelesModId = dto.ErtekelesModId,
|
||||
ErtekelesTema = dto.ErtekelesTema,
|
||||
ErtekelesOsztalyzatId = dto.ErtekelesOsztalyzatId,
|
||||
ErtekelesSzoveg = dto.ErtekelesSzoveg,
|
||||
ErtekelesSzazalek = dto.ErtekelesSzazalek
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue