Imports System
Imports System.ComponentModel

Imports DevExpress.Xpo
Imports DevExpress.Data.Filtering

Imports DevExpress.ExpressApp
Imports DevExpress.Persistent.Base
Imports DevExpress.Persistent.BaseImpl
Imports DevExpress.Persistent.Validation
Public Enum ePHImportType
    eCorner = 0
    eVivaldi = 1
End Enum
<DefaultClassOptions()> _
<NavigationItem(False), CreatableItem(False)> _
Public Class InvoiceNameParameters
    Inherits BaseObject
    Private _PHImportType As ePHImportType
    Private _ShortName As String
    Private _Controlling As Controlling
    Public Sub New(ByVal session As Session)
        MyBase.New(session)
    End Sub
    Public Overrides Sub AfterConstruction()
        MyBase.AfterConstruction()
    End Sub
    Public Property PHImportType As ePHImportType
        Get
            Return _PHImportType
        End Get
        Set(value As ePHImportType)
            SetPropertyValue("PHImportType", _PHImportType, value)
        End Set
    End Property
    Public Property ShortName As String
        Get
            Return _ShortName
        End Get
        Set(value As String)
            SetPropertyValue("ShortName", _ShortName, value)
        End Set
    End Property
    <DataSourceCriteria("IsParent=False")> _
    Public Property Controlling As Controlling
        Get
            Return _Controlling
        End Get
        Set(value As Controlling)
            SetPropertyValue("Controlling", _Controlling, value)
        End Set
    End Property
End Class
