21 lines
374 B
VB.net
21 lines
374 B
VB.net
Imports System.ComponentModel.DataAnnotations
|
|
|
|
Public Class JobDefinition
|
|
<Required>
|
|
Public Id As Integer = -1
|
|
|
|
<Required>
|
|
Public TypeId As Integer
|
|
Public Type As JobType
|
|
|
|
<Required>
|
|
<StringLength(250)>
|
|
Public Name As String
|
|
|
|
<Required>
|
|
<StringLength(250)>
|
|
Public CronSchedule As String
|
|
|
|
Public Active As Boolean
|
|
End Class
|