mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create Required attribute and tag properties
This commit is contained in:
@@ -6,23 +6,28 @@ namespace SabreTools.Models.OpenMSX
|
||||
[XmlRoot("software")]
|
||||
public class Software
|
||||
{
|
||||
[Required]
|
||||
[XmlElement("title")]
|
||||
public string Title { get; set; }
|
||||
public string? Title { get; set; }
|
||||
|
||||
[XmlElement("genmsxid")]
|
||||
public string? GenMSXID { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("system")]
|
||||
public string System { get; set; }
|
||||
public string? System { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("company")]
|
||||
public string Company { get; set; }
|
||||
public string? Company { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("year")]
|
||||
public string Year { get; set; }
|
||||
public string? Year { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("country")]
|
||||
public string Country { get; set; }
|
||||
public string? Country { get; set; }
|
||||
|
||||
[XmlElement("dump")]
|
||||
public Dump[]? Dump { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user