Imports System.Runtime.Serialization
Imports DigitalData.Modules.ZooFlow.State

Namespace Methods.IDB.CheckInOutFile
    <Serializable>
    <DataContract>
    Public Class CheckInOutFileRequest
        <DataMember>
        Public Property ObjectId As Long

        <DataMember>
        Public Property Comment As String

        <DataMember>
        Public Property Action As CheckInOutFileAction

        ''' <summary>
        ''' User Importing the file
        ''' </summary>
        ''' <returns></returns>
        <DataMember>
        Public Property User As UserState
    End Class

    Public Enum CheckInOutFileAction
        CheckIn
        CheckOut
    End Enum

End Namespace

