1
0
mirror of synced 2024-12-18 17:25:54 +01:00
GC-local-server-rewrite/Application/Dto/CardDto.cs
2023-02-09 17:25:42 +08:00

38 lines
921 B
C#

using System.ComponentModel;
using System.Xml.Serialization;
namespace Application.Dto;
public class CardDto
{
[XmlElement(ElementName = "card_id")]
public long CardId { get; set; }
[XmlElement(ElementName = "player_name")]
[DefaultValue("")]
public string PlayerName { get; set; } = string.Empty;
[XmlElement("score_i1")]
public long ScoreI1 { get; set; }
[XmlElement("fcol1")]
public long Fcol1 { get; set; }
[XmlElement("fcol2")]
public long Fcol2 { get; set; }
[XmlElement("fcol3")]
public long Fcol3 { get; set; }
[XmlElement("achieve_status")]
[DefaultValue("")]
public string AchieveStatus { get; set; } = string.Empty;
[XmlElement("created")]
[DefaultValue("")]
public string Created { get; set; } = string.Empty;
[XmlElement("modified")]
[DefaultValue("")]
public string Modified { get; set; } = string.Empty;
}