70 lines
1.9 KiB
VB.net
70 lines
1.9 KiB
VB.net
Imports System.Runtime.Serialization
|
|
|
|
Namespace FileStorage.NewFile
|
|
<Serializable>
|
|
<DataContract>
|
|
Public Class NewFileRequest
|
|
''' <summary>
|
|
''' Absolute filename of the file to be imported
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property FileName As String
|
|
|
|
''' <summary>
|
|
''' Creation date of the original file from the filesystem
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property FileCreatedAt As String
|
|
|
|
''' <summary>
|
|
''' Modification date of the original file from the filesystem
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property FileChangedAt As String
|
|
|
|
''' <summary>
|
|
''' Date for which the file should be show as imported
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property FileImportedAt As Date
|
|
|
|
''' <summary>
|
|
''' The byte array representing the file contents
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property FileContents As Byte()
|
|
|
|
''' <summary>
|
|
''' The SHA256 Hash of the file contents
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property FileChecksum As String
|
|
|
|
''' <summary>
|
|
''' Name/title of the ObjectStore to save the file to, ex. Work
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property StoreName As String
|
|
|
|
''' <summary>
|
|
''' The business entity of the file, ex DEFAULT
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property BusinessEntity As String
|
|
|
|
''' <summary>
|
|
''' The kind of object to be created, ex. DOC
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property KindType As String
|
|
|
|
''' <summary>
|
|
''' The name of the user importing the file, ex. JenneJ
|
|
''' </summary>
|
|
<DataMember>
|
|
Public Property Who As String
|
|
End Class
|
|
|
|
End Namespace
|
|
|