Refactor: Moved financial basic types into Swarmops.Basic.Types.Financial
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
public BasicFinancialAccount (int financialAccountId, string name, FinancialAccountType accountType,
|
||||
int organizationId, int parentFinancialAccountId, int ownerPersonId,
|
||||
int dimension, bool open, int openedYear, int closedYear, bool expensable)
|
||||
bool open, int openedYear, int closedYear, bool expensable)
|
||||
{
|
||||
this.FinancialAccountId = financialAccountId;
|
||||
this.Name = name;
|
||||
@@ -15,7 +15,6 @@ namespace Swarmops.Basic.Types.Financial
|
||||
this.OrganizationId = organizationId;
|
||||
this.OwnerPersonId = ownerPersonId;
|
||||
this.ParentFinancialAccountId = parentFinancialAccountId;
|
||||
this.Dimension = dimension;
|
||||
this.Open = open;
|
||||
this.OpenedYear = openedYear;
|
||||
this.ClosedYear = closedYear;
|
||||
@@ -23,7 +22,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
}
|
||||
|
||||
public BasicFinancialAccount (BasicFinancialAccount original) :
|
||||
this(original.Identity, original.Name, original.AccountType, original.OrganizationId, original.ParentFinancialAccountId, original.OwnerPersonId, original.Dimension, original.Open, original.OpenedYear, original.ClosedYear, original.Expensable)
|
||||
this(original.Identity, original.Name, original.AccountType, original.OrganizationId, original.ParentFinancialAccountId, original.OwnerPersonId, original.Open, original.OpenedYear, original.ClosedYear, original.Expensable)
|
||||
{
|
||||
// Empty copy constructor
|
||||
}
|
||||
@@ -35,7 +34,6 @@ namespace Swarmops.Basic.Types.Financial
|
||||
public FinancialAccountType AccountType { get; private set; }
|
||||
public int OwnerPersonId { get; protected set; }
|
||||
public int ParentFinancialAccountId { get; private set; }
|
||||
public int Dimension { get; protected set; }
|
||||
public bool Open { get; protected set; }
|
||||
public int OpenedYear { get; protected set; }
|
||||
public int ClosedYear { get; protected set; }
|
||||
|
||||
+1
-3
@@ -1,8 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Swarmops.Basic.Types
|
||||
namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
public class BasicFinancialAccountRow
|
||||
{
|
||||
+1
-4
@@ -1,9 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Swarmops.Basic.Enums;
|
||||
|
||||
namespace Swarmops.Basic.Types
|
||||
namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
/// <summary>
|
||||
/// This class encapsulates what a financial transaction was constructed from.
|
||||
+1
-3
@@ -1,9 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Swarmops.Basic.Types
|
||||
namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
public class BasicFinancialTransaction : IHasIdentity
|
||||
{
|
||||
+1
-3
@@ -1,9 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Swarmops.Basic.Types
|
||||
namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
public class BasicFinancialTransactionRow : IHasIdentity
|
||||
{
|
||||
+1
-3
@@ -1,10 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Swarmops.Basic.Enums;
|
||||
using Swarmops.Basic.Interfaces;
|
||||
|
||||
namespace Swarmops.Basic.Types
|
||||
namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
public class BasicFinancialValidation: IHasIdentity
|
||||
{
|
||||
Reference in New Issue
Block a user