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 Imports DevExpress.ExpressApp.SystemModule Imports DevExpress.Persistent.Base.Security Imports DevExpress.ExpressApp.ConditionalAppearance Imports DevExpress.ExpressApp.Filtering ' _ ' _ ' _ _ _ _ _ Public Class ContractsRowsToInvoice Inherits BaseObject Private _DateCreated As Date = Now ' A számla kiállításának dátuma Private _DateExecution As Date 'Teljesítés dátuma Private _Description As String ' Megjegyzés Private _CurrencyRate As Double = 1 ' Árfolyam Private _ContractRows As ContractRows ' A Deviza típusához kell Private _BankInformation As BankInformation Private _IsProforma As Boolean = False Public Sub New(ByVal session As Session) MyBase.New(session) End Sub ReadOnly Property DateCreated As Date Get Return _DateCreated End Get End Property _ Property DateExecution As Date Get Return _DateExecution End Get Set(ByVal value As Date) SetPropertyValue("DateExecution", _DateExecution, value) End Set End Property _ Property Description As String Get Return _Description End Get Set(ByVal value As String) SetPropertyValue("Description", _Description, value) End Set End Property Property CurrencyRate As Double Get Return _CurrencyRate End Get Set(ByVal value As Double) SetPropertyValue("CurrencyRate", _CurrencyRate, value) End Set End Property Property ContractRows As ContractRows Get Return _ContractRows End Get Set(ByVal value As ContractRows) SetPropertyValue("ContractRows", _ContractRows, value) End Set End Property Property BankInformation As BankInformation Get Return (_BankInformation) End Get Set(ByVal value As BankInformation) SetPropertyValue("CustomerBankAccounts", _BankInformation, value) End Set End Property Property IsProforma As Boolean Get Return _IsProforma End Get Set(value As Boolean) SetPropertyValue("IsProforma", _IsProforma, value) End Set End Property End Class