2020-09-14 17:08:43 +02:00

19 lines
466 B
VB.net

Public Class ProductGroup
Public Property Guid As Integer
Public Property GroupId As Integer
Public Property Code As String
Public Property Name As String
Public ReadOnly Property GroupString As String
Get
Return GroupId.ToString.PadLeft(2, "0")
End Get
End Property
Public Overrides Function ToString() As String
Return $"{GroupId.ToString.PadLeft(2, "0")} - {Name}"
End Function
End Class