init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,52 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Ellenorzo.Domain.VN.Lep;
|
||||
using Kreta.Ellenorzo.Dto.VN.Documentation;
|
||||
using Kreta.Ellenorzo.Dto.VN.Utility;
|
||||
|
||||
namespace Kreta.Ellenorzo.Dto.VN.Lep
|
||||
{
|
||||
public class EloadasResponseDto
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.EloadasId)]
|
||||
public string Uid { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.EloadasDatum)]
|
||||
public DateTime Datum { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.EloadasKezdete)]
|
||||
public DateTime EloadasKezdete { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.EloadasVege)]
|
||||
public DateTime EloadasVege { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.EloadasNev)]
|
||||
public string EloadasNev { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.SzervezetNev)]
|
||||
public string SzervezetNev { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.EloadasHelyszin)]
|
||||
public string Helyszin { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.EloadasonMegjelent)]
|
||||
public bool Megjelent { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.EloadasGondviseloElfogadas)]
|
||||
public bool? GondviseloElfogadas { get; set; }
|
||||
|
||||
public static implicit operator EloadasResponseDto(EloadasResponse model) => model == null ? null : new EloadasResponseDto
|
||||
{
|
||||
Uid = model.Uid.UidRaw,
|
||||
Datum = model.Datum.ToIso8601Utc(),
|
||||
EloadasKezdete = model.EloadasKezdete.ToIso8601Utc(),
|
||||
EloadasVege = model.EloadasVege.ToIso8601Utc(),
|
||||
EloadasNev = model.EloadasNev,
|
||||
SzervezetNev = model.SzervezetNev,
|
||||
Helyszin = model.Helyszin,
|
||||
Megjelent = model.Megjelent,
|
||||
GondviseloElfogadas = model.GondviseloElfogadas
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue