BuildFeed/BuildFeed.Model/BuildGroup.cs
2016-08-19 22:10:55 +01:00

14 lines
381 B
C#

namespace BuildFeed.Model
{
public class BuildGroup
{
public uint Major { get; set; }
public uint Minor { get; set; }
public uint Build { get; set; }
public uint? Revision { get; set; }
public override string ToString() => Revision.HasValue
? $"{Major}.{Minor}.{Build}.{Revision.Value}"
: $"{Major}.{Minor}.{Build}";
}
}