Imports System.ComponentModel.DataAnnotations
Public Class tImage
<Key()>
Public Property ID As Int64
<MaxLength(50)>
Public Property name As String
<MaxLength(255)>
Public Property URL As String
Public Property type As tImageType
<MaxLength(50)>
Public Property tag As String
End Class

Imports System.ComponentModel.DataAnnotations
Public Class tImageType
<Key()>
Public Property ID As Integer
<MaxLength(50)>
Public Property name As String
<MaxLength(255)>
Public Property description As String
End Class