WIP
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using isn.abst;
|
||||
@ -24,6 +25,8 @@ namespace isnd.Data
|
||||
[Required]
|
||||
public int Patch { get; set; }
|
||||
|
||||
public int Revision { get; set; }
|
||||
|
||||
[StringLength(256)]
|
||||
[Required][Key]
|
||||
public string FullString { get; set; }
|
||||
@ -50,5 +53,7 @@ namespace isnd.Data
|
||||
+ Constants.SpecFileEstension;
|
||||
|
||||
public string SementicVersionString { get => $"{Major}.{Minor}.{Patch}"; }
|
||||
public Version SystemVersion { get => new Version(Major, Minor, Patch, Revision); }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user