jj
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user