init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Ellenorzo.Domain.VN.Ora.TanitasiOra;
|
||||
using Kreta.Ellenorzo.Dto.VN.Documentation;
|
||||
using Kreta.Ellenorzo.Dto.VN.Utility;
|
||||
|
||||
namespace Kreta.Ellenorzo.Dto.VN.Ora.TanitasiOra
|
||||
{
|
||||
public class TanitasiOraResponseDto
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.TanoraKezdetenekIdopontja)]
|
||||
public DateTime KezdoDatum { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.TanoraVegenekIdopontja)]
|
||||
public DateTime VegDatum { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.EntitasOraszamaAzAdottNapon + "<br>" + DescriptionLookUp.NapirendiOraEsetenNull)]
|
||||
public byte? Oraszam { get; set; }
|
||||
|
||||
public static implicit operator TanitasiOraResponseDto(TanitasiOraResponse model) => model == null ? null : new TanitasiOraResponseDto
|
||||
{
|
||||
KezdoDatum = model.KezdoDatum.ToIso8601Utc(),
|
||||
VegDatum = model.VegDatum.ToIso8601Utc(),
|
||||
Oraszam = model.Oraszam
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue