Added financial transaction tags; changed 2-D bookkeeping to tags
This commit is contained in:
@@ -8,17 +8,18 @@ namespace Swarmops.Basic.Types.Financial
|
||||
{
|
||||
public class BasicFinancialTransactionTagSet: IHasIdentity
|
||||
{
|
||||
public BasicFinancialTransactionTagSet (int financialTransactionTagSetId, int financialTransactionTagSetTypeId, int organizationId, int order, bool allowUntagged)
|
||||
public BasicFinancialTransactionTagSet (int financialTransactionTagSetId, int financialTransactionTagSetTypeId, int organizationId, int order, bool allowUntagged, int profitLossType)
|
||||
{
|
||||
this.FinancialTransactionTagSetId = financialTransactionTagSetId;
|
||||
this.FinancialTransactionTagSetTypeId = financialTransactionTagSetTypeId;
|
||||
this.OrganizationId = organizationId;
|
||||
this.Order = order;
|
||||
this.AllowUntagged = allowUntagged;
|
||||
this.ProfitLossType = profitLossType;
|
||||
}
|
||||
|
||||
public BasicFinancialTransactionTagSet (BasicFinancialTransactionTagSet original):
|
||||
this (original.FinancialTransactionTagSetId, original.FinancialTransactionTagSetTypeId, original.OrganizationId, original.Order, original.AllowUntagged)
|
||||
this (original.FinancialTransactionTagSetId, original.FinancialTransactionTagSetTypeId, original.OrganizationId, original.Order, original.AllowUntagged, original.ProfitLossType)
|
||||
{
|
||||
// copy ctor
|
||||
}
|
||||
@@ -28,6 +29,7 @@ namespace Swarmops.Basic.Types.Financial
|
||||
public int OrganizationId { get; private set; }
|
||||
public int Order { get; protected set; }
|
||||
public bool AllowUntagged { get; protected set; }
|
||||
public int ProfitLossType { get; protected set; }
|
||||
|
||||
#region Implementation of IHasIdentity
|
||||
|
||||
|
||||
Reference in New Issue
Block a user