mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
14 lines
401 B
C#
14 lines
401 B
C#
namespace BuildFeed.Model
|
|
{
|
|
public struct 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}";
|
|
}
|
|
} |