1
0
mirror of synced 2024-12-23 19:44:51 +01:00
GC-local-server-rewrite/Application/Dto/MusicDto.cs
2023-02-16 16:53:02 +08:00

31 lines
846 B
C#

namespace Application.Dto;
public class MusicDto
{
[XmlAttribute(AttributeName = "id")]
public int Id { get; set; }
[XmlElement("music_id")]
public int MusicId { get; set; }
[XmlElement(ElementName = "title")]
public string Title { get; set; } = string.Empty;
[XmlElement(ElementName = "artist")]
public string Artist { get; set; } = string.Empty;
[XmlElement(ElementName = "release_date")]
public string ReleaseDate { get; set; } = "2013-01-01 08:00:00";
[XmlElement(ElementName = "end_date")]
public string EndDate { get; set; } = "2030-01-01 08:00:00";
[XmlElement("new_flag")]
public int NewFlag { get; set; }
[XmlElement("use_flag")]
public int UseFlag { get; set; }
[XmlElement("calc_flag")]
public int CalcFlag { get; set; }
}