mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
16 lines
327 B
C#
16 lines
327 B
C#
namespace BuildFeed.Model
|
|
{
|
|
public struct BuildVersion
|
|
{
|
|
public uint Major { get; set; }
|
|
public uint Minor { get; set; }
|
|
|
|
public BuildVersion(uint major, uint minor)
|
|
{
|
|
Major = major;
|
|
Minor = minor;
|
|
}
|
|
|
|
public override string ToString() => $"{Major}.{Minor}";
|
|
}
|
|
} |