Added FinancialAccountDocument stub
This commit is contained in:
+1
-1
@@ -58,8 +58,8 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Types\Common\BlockchainHash.cs" />
|
||||
<Compile Include="Types\Common\ReportRequirement.cs" />
|
||||
<Compile Include="Types\Financial\BasicExpenseClaimGroup.cs" />
|
||||
<Compile Include="Types\Financial\BasicFinancialAccountDocument.cs" />
|
||||
<Compile Include="Types\Financial\BasicHotBitcoinAddress.cs" />
|
||||
<Compile Include="Types\Financial\BasicHotBitcoinAddressUnspent.cs" />
|
||||
<Compile Include="Types\Financial\BasicVatReport.cs" />
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Swarmops.Common.Enums;
|
||||
using Swarmops.Common.Interfaces;
|
||||
|
||||
namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
[Serializable]
|
||||
public class BasicFinancialAccountDocument: IHasIdentity
|
||||
{
|
||||
[Obsolete("This ctor is here only to enable serialization, and so this attribute prevents compile time calls", true)]
|
||||
public BasicFinancialAccountDocument()
|
||||
{
|
||||
}
|
||||
|
||||
public BasicFinancialAccountDocument(int financialAccountDocumentId, int financialAccountId,
|
||||
FinancialAccountDocumentType type, DateTime uploadedDateTime, int uploadedByPersonId,
|
||||
DateTime concernsPeriodStart, DateTime concernsPeriodEnd, string rawDocumentText)
|
||||
{
|
||||
this.FinancialAccountDocumentId = financialAccountDocumentId;
|
||||
this.FinancialAccountId = financialAccountId;
|
||||
this.Type = type;
|
||||
this.UploadedDateTime = uploadedDateTime;
|
||||
this.UploadedByPersonId = uploadedByPersonId;
|
||||
this.ConcernsPeriodStart = concernsPeriodStart;
|
||||
this.ConcernsPeriodEnd = concernsPeriodEnd;
|
||||
this.RawDocumentText = rawDocumentText;
|
||||
}
|
||||
|
||||
public BasicFinancialAccountDocument(BasicFinancialAccountDocument original) :
|
||||
this(original.FinancialAccountDocumentId, original.FinancialAccountId, original.Type,
|
||||
original.UploadedDateTime, original.UploadedByPersonId, original.ConcernsPeriodStart,
|
||||
original.ConcernsPeriodEnd, original.RawDocumentText)
|
||||
{
|
||||
// empty copy ctor
|
||||
}
|
||||
|
||||
public int FinancialAccountDocumentId { get; private set; }
|
||||
public int FinancialAccountId { get; private set; }
|
||||
public FinancialAccountDocumentType Type { get; private set; }
|
||||
public DateTime UploadedDateTime { get; private set; }
|
||||
public int UploadedByPersonId { get; private set; }
|
||||
public DateTime ConcernsPeriodStart { get; private set; }
|
||||
public DateTime ConcernsPeriodEnd { get; private set; }
|
||||
public string RawDocumentText { get; private set; }
|
||||
|
||||
public int Identity { get { return this.FinancialAccountDocumentId; } }
|
||||
}
|
||||
}
|
||||
@@ -53,6 +53,7 @@
|
||||
<Compile Include="Enums\ExpenseEventType.cs" />
|
||||
<Compile Include="Enums\ExternalActivityType.cs" />
|
||||
<Compile Include="Enums\ExternalIdentityType.cs" />
|
||||
<Compile Include="Enums\FinancialAccountDocumentType.cs" />
|
||||
<Compile Include="Enums\FinancialAccountType.cs" />
|
||||
<Compile Include="Enums\FinancialDependencyType.cs" />
|
||||
<Compile Include="Enums\FinancialForeignIdType.cs" />
|
||||
@@ -73,6 +74,7 @@
|
||||
<Compile Include="Enums\PositionLevel.cs" />
|
||||
<Compile Include="Enums\PositionTitle.cs" />
|
||||
<Compile Include="Enums\PositionType.cs" />
|
||||
<Compile Include="Enums\ReportRequirement.cs" />
|
||||
<Compile Include="Enums\RoleTypeClass.cs" />
|
||||
<Compile Include="Exceptions\ConcurrencyException.cs" />
|
||||
<Compile Include="Exceptions\DatabaseConcurrencyException.cs" />
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Swarmops.Common.Enums
|
||||
{
|
||||
public enum FinancialAccountDocumentType
|
||||
{
|
||||
Unknown = 0,
|
||||
BankStatement,
|
||||
BankTransactionData
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Swarmops.Basic.Types.Common
|
||||
namespace Swarmops.Common.Enums
|
||||
{
|
||||
public enum ReportRequirement
|
||||
{
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Swarmops.Basic.Types.Financial;
|
||||
|
||||
namespace Swarmops.Logic.Financial
|
||||
{
|
||||
[Serializable]
|
||||
public class FinancialAccountDocument: BasicFinancialAccountDocument
|
||||
{
|
||||
[Obsolete("The parameterless ctor is only here for serialization. Use FromIdentity() or Create().", true)]
|
||||
public FinancialAccountDocument()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Swarmops.Basic.Types.Financial;
|
||||
using Swarmops.Logic.Support;
|
||||
|
||||
namespace Swarmops.Logic.Financial
|
||||
{
|
||||
public class FinancialAccountDocuments: PluralBase<FinancialAccountDocuments,FinancialAccountDocument,BasicFinancialAccountDocument>
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -136,6 +136,8 @@
|
||||
<Compile Include="Financial\BitcoinUtility.cs" />
|
||||
<Compile Include="Financial\ExpenseClaimGroup.cs" />
|
||||
<Compile Include="Financial\FinancialAccountAutomationProfile.cs" />
|
||||
<Compile Include="Financial\FinancialAccountDocument.cs" />
|
||||
<Compile Include="Financial\FinancialAccountDocuments.cs" />
|
||||
<Compile Include="Financial\HotBitcoinAddress.cs" />
|
||||
<Compile Include="Financial\HotBitcoinAddresses.cs" />
|
||||
<Compile Include="Financial\HotBitcoinAddressUnspent.cs" />
|
||||
|
||||
Reference in New Issue
Block a user