Fixed some stupid errors re. tags, added VisibilityLevel field

This commit is contained in:
Rick Falkvinge
2014-01-01 07:27:52 +00:00
parent c6f2b11bf0
commit 81059f41b3
6 changed files with 52 additions and 29 deletions
@@ -8,18 +8,19 @@ namespace Swarmops.Basic.Types.Financial
{
public class BasicFinancialTransactionTagSet: IHasIdentity
{
public BasicFinancialTransactionTagSet (int financialTransactionTagSetId, int financialTransactionTagSetTypeId, int organizationId, int order, bool allowUntagged, int profitLossType)
public BasicFinancialTransactionTagSet (int financialTransactionTagSetId, int financialTransactionTagSetTypeId, int organizationId, int order, bool allowUntagged, int visibilityLevel, int profitLossType)
{
this.FinancialTransactionTagSetId = financialTransactionTagSetId;
this.FinancialTransactionTagSetTypeId = financialTransactionTagSetTypeId;
this.OrganizationId = organizationId;
this.Order = order;
this.AllowUntagged = allowUntagged;
this.VisibilityLevel = visibilityLevel;
this.ProfitLossType = profitLossType;
}
public BasicFinancialTransactionTagSet (BasicFinancialTransactionTagSet original):
this (original.FinancialTransactionTagSetId, original.FinancialTransactionTagSetTypeId, original.OrganizationId, original.Order, original.AllowUntagged, original.ProfitLossType)
this (original.FinancialTransactionTagSetId, original.FinancialTransactionTagSetTypeId, original.OrganizationId, original.Order, original.AllowUntagged, original.VisibilityLevel, original.ProfitLossType)
{
// copy ctor
}
@@ -30,6 +31,7 @@ namespace Swarmops.Basic.Types.Financial
public int Order { get; protected set; }
public bool AllowUntagged { get; protected set; }
public int ProfitLossType { get; protected set; }
public int VisibilityLevel { get; protected set; }
#region Implementation of IHasIdentity