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:
@@ -10,11 +10,13 @@ namespace SabreTools.Models.Logiqx
|
||||
[XmlElement("id")]
|
||||
public string? Id { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("name")]
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("description")]
|
||||
public string Description { get; set; }
|
||||
public string? Description { get; set; }
|
||||
|
||||
/// <remarks>Trurip extension</remarks>
|
||||
[XmlElement("rootdir")]
|
||||
@@ -23,14 +25,16 @@ namespace SabreTools.Models.Logiqx
|
||||
[XmlElement("category")]
|
||||
public string? Category { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("version")]
|
||||
public string Version { get; set; }
|
||||
public string? Version { get; set; }
|
||||
|
||||
[XmlElement("date")]
|
||||
public string? Date { get; set; }
|
||||
|
||||
[Required]
|
||||
[XmlElement("author")]
|
||||
public string Author { get; set; }
|
||||
public string? Author { get; set; }
|
||||
|
||||
[XmlElement("email")]
|
||||
public string? Email { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user