08-12-2022
This commit is contained in:
3
ECM.JobRunner.Windows/Models/Profiles/BaseProfile.vb
Normal file
3
ECM.JobRunner.Windows/Models/Profiles/BaseProfile.vb
Normal file
@@ -0,0 +1,3 @@
|
||||
Public Class BaseProfile
|
||||
Public Property Job As New JobDefinition
|
||||
End Class
|
||||
36
ECM.JobRunner.Windows/Models/Profiles/ImportProfile.vb
Normal file
36
ECM.JobRunner.Windows/Models/Profiles/ImportProfile.vb
Normal file
@@ -0,0 +1,36 @@
|
||||
Imports System.ComponentModel.DataAnnotations
|
||||
|
||||
Public Class ImportProfile
|
||||
Inherits BaseProfile
|
||||
|
||||
Public Property Active As Boolean
|
||||
|
||||
<Required>
|
||||
Public Property Id As Integer
|
||||
<Required>
|
||||
Public Property JobId As Integer
|
||||
<Required>
|
||||
Public Property ObjectTypeName As String
|
||||
|
||||
<Required>
|
||||
<StringLength(500)>
|
||||
Public Property SourceFolder As String
|
||||
|
||||
<Required>
|
||||
<StringLength(500)>
|
||||
Public Property TargetFolder As String
|
||||
|
||||
<StringLength(500)>
|
||||
Public Property BackupFolder As String
|
||||
|
||||
<StringLength(50)>
|
||||
Public Property SubfolderDateFormat As String
|
||||
|
||||
<StringLength(5000)>
|
||||
Public Property FileExcludeRegex As String
|
||||
|
||||
Public Property DeleteFiles As Boolean
|
||||
Public Property IncludeSubfolders As Boolean
|
||||
|
||||
Public Property Steps As New List(Of ImportProfileStep)
|
||||
End Class
|
||||
26
ECM.JobRunner.Windows/Models/Profiles/ImportProfileStep.vb
Normal file
26
ECM.JobRunner.Windows/Models/Profiles/ImportProfileStep.vb
Normal file
@@ -0,0 +1,26 @@
|
||||
Public Class ImportProfileStep
|
||||
Public Property Active As Boolean
|
||||
Public Property Id As Integer
|
||||
Public Property ProfileId As Integer
|
||||
Public Property IndexName As String
|
||||
Public Property Scope As StepScope
|
||||
Public Property Method As StepMethod
|
||||
Public Property Argument1 As String
|
||||
Public Property Argument2 As String
|
||||
Public Property Argument3 As String
|
||||
|
||||
Public Enum StepMethod
|
||||
SUBSTRING
|
||||
REGEX
|
||||
SPLIT
|
||||
ALL
|
||||
VALUE
|
||||
End Enum
|
||||
|
||||
Public Enum StepScope
|
||||
FILE
|
||||
FOLDER
|
||||
End Enum
|
||||
End Class
|
||||
|
||||
|
||||
Reference in New Issue
Block a user