1
0
mirror of synced 2024-12-05 02:57:59 +01:00
GC-local-server-rewrite/Application/Dto/SessionDto.cs
2023-02-09 23:19:14 +08:00

21 lines
558 B
C#

using System.Xml.Serialization;
namespace Application.Dto;
public class SessionDto
{
[XmlElement(ElementName = "card_id")]
public long CardId { get; set; }
[XmlElement(ElementName = "mac_addr")]
public string Mac { get; set; } = "000000000000";
[XmlElement(ElementName = "session_id")]
public string SessionId { get; set; } = "12345678901234567890123456789012";
[XmlElement(ElementName = "expires")]
public int Expires { get; set; }
[XmlElement(ElementName = "player_id")]
public int PlayerId { get; set; }
}