using System; using Kreta.Client.Kir.KirModels; namespace Kreta.Client.Kir.Models { public class KerelemFejModel { public string RogzitoKliensId { get; set; } public string RogzitoKliensValue { get; set; } public ulong RogzitoNeveId { get; set; } public string RogzitoNeveValue { get; set; } public DateTime RogzitesDatuma { get; set; } public string KliensId { get; set; } public KerelemFejType ConvertKerelemFejModelToKerelemFejType() => new KerelemFejType { RogzitoKliens = new stringWithStringId { id = RogzitoKliensId, Value = RogzitoKliensValue }, RogzitoNeve = new stringWithId { id = RogzitoNeveId, Value = RogzitoNeveValue }, RogzitesDatuma = RogzitesDatuma, KliensId = KliensId }; } }