This commit is contained in:
Jonathan Jenne
2020-09-11 15:56:50 +02:00
parent 614b415a98
commit c9bd8da4a6
8 changed files with 228 additions and 82 deletions

View File

@@ -1,11 +1,9 @@
Public Class ProductGroup
Public Guid As Integer
Public Name As String
Public NickName As String
Public Property Id As Integer
Public Property Vendor As String
Public Property Name As String
Public Property Versions As List(Of ProductVersion)
Public Sub New()
Versions = New List(Of ProductVersion)
End Sub
Public Overrides Function ToString() As String
Return $"{Id.ToString.PadLeft(2, "0")} - {Name}"
End Function
End Class

View File

@@ -1,4 +1,9 @@
Public Class ProductVersion
Public Guid As Integer
Public Name As String
Public Property Id As Integer
Public Property Name As String
Public Property Part As Integer
Public Overrides Function ToString() As String
Return $"{Id.ToString.PadLeft(2, "0")} - {Name}"
End Function
End Class

View File

@@ -1,5 +1,8 @@
Public Class Vendor
Public Guid As Integer
Public Id As String
Public Name As String
Public Property Code As String
Public Property Name As String
Public Overrides Function ToString() As String
Return $"{Code} - {Name}"
End Function
End Class