mirror of
https://gitea.tendokyu.moe/Kayori/MedusaPluginChargeMachine.git
synced 2026-09-22 22:27:54 +03:00
40 lines
903 B
C#
40 lines
903 B
C#
using System.Xml.Serialization;
|
|
using Abstractions.SerializationTypes;
|
|
|
|
namespace MedusaPluginChargeMachine.Models.Response;
|
|
|
|
[XmlRoot("eacharge")]
|
|
[Serializable]
|
|
public class GetRecentChargeResponse
|
|
{
|
|
[XmlAttribute("status")]
|
|
public int Status { get; set; }
|
|
|
|
[XmlElement("num")]
|
|
public XrpcInt Num { get; set; }
|
|
|
|
[XmlElement("item")]
|
|
public List<GetRecentChargeItem> Items { get; set; } = [];
|
|
}
|
|
|
|
public record GetRecentChargeItem
|
|
{
|
|
[XmlElement("rcvtime")]
|
|
public XrpcString RcvTime { get; set; }
|
|
|
|
[XmlElement("chrgprice")]
|
|
public XrpcInt ChrgPrice { get; set; }
|
|
|
|
[XmlElement("cardno")]
|
|
public XrpcString CardNo { get; set; }
|
|
|
|
[XmlElement("acccode")]
|
|
public XrpcString AccCode { get; set; }
|
|
|
|
[XmlElement("rcvstatus")]
|
|
public XrpcString RcvStatus { get; set; }
|
|
|
|
[XmlElement("fontcolor")]
|
|
public XrpcString FontColor { get; set; }
|
|
}
|