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

<DefaultClassOptions()> _
<NavigationItem(False)> _
<CreatableItem(False)> _
Public Class SubcontractorUserRoles
    Inherits BaseObject

    Private _Subcontractor As Subcontractor
    Private _SubcontractorRoles As SubcontractorRoles
    Private _User As User

    Public Sub New(ByVal session As Session)
        MyBase.New(session)
    End Sub
    Public Overrides Sub AfterConstruction()
        MyBase.AfterConstruction()
    End Sub

    Property Subcontractor As Subcontractor
        Get
            Return _Subcontractor
        End Get
        Set(value As Subcontractor)
            SetPropertyValue("Subcontractor", _Subcontractor, value)
        End Set
    End Property
    Property SubcontractorRoles As SubcontractorRoles
        Get
            Return _SubcontractorRoles
        End Get
        Set(value As SubcontractorRoles)
            SetPropertyValue("SubcontractorRoles", _SubcontractorRoles, value)
        End Set
    End Property
    Property User As User
        Get
            Return _User
        End Get
        Set(value As User)
            SetPropertyValue("User", _User, value)
        End Set
    End Property
End Class
