24 lines
590 B
C#
24 lines
590 B
C#
using System;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace Kreta.EESZTInterface.eFT.Model
|
|
{
|
|
public class Logging
|
|
{
|
|
[XmlIgnore]
|
|
public DateTime SubmittedAt { get; set; }
|
|
|
|
[XmlElement(ElementName = "submittedAt", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
|
public string SubmittedAtStr
|
|
{
|
|
get
|
|
{
|
|
return SubmittedAt.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ");
|
|
}
|
|
set
|
|
{
|
|
SubmittedAt = DateTime.Parse(value);
|
|
}
|
|
}
|
|
}
|
|
}
|