mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-07-25 02:02:17 +00:00
48 lines
1.0 KiB
C#
48 lines
1.0 KiB
C#
namespace SabreTools.Models.DosCenter
|
|
{
|
|
/// <remarks>file</remarks>
|
|
public class File
|
|
{
|
|
/// <remarks>name, attribute</remarks>
|
|
[Required]
|
|
#if NET48
|
|
public string Name { get; set; }
|
|
#else
|
|
public string? Name { get; set; }
|
|
#endif
|
|
|
|
/// <remarks>size, attribute, numeric</remarks>
|
|
[Required]
|
|
#if NET48
|
|
public string Size { get; set; }
|
|
#else
|
|
public string? Size { get; set; }
|
|
#endif
|
|
|
|
/// <remarks>crc, attribute</remarks>
|
|
[Required]
|
|
#if NET48
|
|
public string CRC { get; set; }
|
|
#else
|
|
public string? CRC { get; set; }
|
|
#endif
|
|
|
|
/// <remarks>date, attribute</remarks>
|
|
#if NET48
|
|
public string Date { get; set; }
|
|
#else
|
|
public string? Date { get; set; }
|
|
#endif
|
|
|
|
#region DO NOT USE IN PRODUCTION
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
#if NET48
|
|
public string[] ADDITIONAL_ELEMENTS { get; set; }
|
|
#else
|
|
public string[]? ADDITIONAL_ELEMENTS { get; set; }
|
|
#endif
|
|
|
|
#endregion
|
|
}
|
|
} |