Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 222 additions & 0 deletions ModuleHelpers/MT/Interfaces/intfMTAccounting.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,222 @@
/******************************************************************************
# TargomanAPI: REST API for Targoman
#
# Copyright 2014-2020 by Targoman Intelligent Processing <http://tip.co.ir>
#
# TargomanAPI is free software: you can redistribute it and/or modify
# it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# TargomanAPI is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU AFFERO GENERAL PUBLIC LICENSE for more details.
#
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
# along with Targoman. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
/**
* @author S.Mehran M.Ziabary <ziabary@targoman.com>
* @author Kambiz Zandi <kambizzandi@gmail.com>
*/

#include "intfMTAccounting.h"

namespace Targoman::API::ModuleHelpers::MT::Interfaces {

/******************************************************************/
/******************************************************************/
/******************************************************************/
intfAccountUnitsI18NMT::intfAccountUnitsI18NMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<DBM::stuDBIndex>& _exclusiveIndexes
) :
intfAccountUnitsI18N(
_schema,
tblAccountUnitsI18NMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountUnitsI18NMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountUnitsI18NMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
intfAccountUnitsMT::intfAccountUnitsMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<DBM::stuDBIndex>& _exclusiveIndexes
) :
intfAccountUnits(
_schema,
tblAccountUnitsMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountUnitsMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountUnitsMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
/******************************************************************/
/******************************************************************/
intfAccountProductsI18NMT::intfAccountProductsI18NMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<DBM::stuDBIndex>& _exclusiveIndexes
) :
intfAccountProductsI18N(
_schema,
tblAccountProductsI18NMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountProductsI18NMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountProductsI18NMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
intfAccountProductsMT::intfAccountProductsMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<DBM::stuDBIndex>& _exclusiveIndexes
) :
intfAccountProducts(
_schema,
tblAccountProductsMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountProductsMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountProductsMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
/******************************************************************/
/******************************************************************/
intfAccountSaleablesI18NMT::intfAccountSaleablesI18NMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<DBM::stuDBIndex>& _exclusiveIndexes
) :
intfAccountSaleablesI18N(
_schema,
tblAccountSaleablesI18NMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountSaleablesI18NMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountSaleablesI18NMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
intfAccountSaleablesMT::intfAccountSaleablesMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<DBM::stuDBIndex>& _exclusiveIndexes
) :
intfAccountSaleables(
_schema,
tblAccountSaleablesMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountSaleablesMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountSaleablesMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
intfAccountSaleablesFilesMT::intfAccountSaleablesFilesMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<DBM::stuDBIndex>& _exclusiveIndexes
) :
intfAccountSaleablesFiles(
_schema,
tblAccountSaleablesFilesMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountSaleablesFilesMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountSaleablesFilesMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
/******************************************************************/
/******************************************************************/
intfAccountUserAssetsMT::intfAccountUserAssetsMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<stuDBIndex>& _exclusiveIndexes
) :
intfAccountUserAssets(
_schema,
tblAccountUserAssetsMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountUserAssetsMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountUserAssetsMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
intfAccountUserAssetsFilesMT::intfAccountUserAssetsFilesMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<stuDBIndex>& _exclusiveIndexes
) :
intfAccountUserAssetsFiles(
_schema,
tblAccountUserAssetsFilesMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountUserAssetsFilesMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountUserAssetsFilesMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
/******************************************************************/
/******************************************************************/
intfAccountAssetUsageMT::intfAccountAssetUsageMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<stuDBIndex>& _exclusiveIndexes
) :
intfAccountAssetUsage(
_schema,
tblAccountAssetUsageMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountAssetUsageMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountAssetUsageMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
/******************************************************************/
/******************************************************************/
intfAccountCouponsMT::intfAccountCouponsMT(
const QString& _schema,
const QList<DBM::clsORMField>& _exclusiveCols,
const QList<DBM::stuRelation>& _exclusiveRelations,
const QList<stuDBIndex>& _exclusiveIndexes
) :
intfAccountCoupons(
_schema,
tblAccountCouponsMTBase::Private::ExtraORMFields + _exclusiveCols,
tblAccountCouponsMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
tblAccountCouponsMTBase::Private::ExtraIndexes + _exclusiveIndexes
)
{ ; }

/******************************************************************/
/******************************************************************/
/******************************************************************/
//intfAccountPrizesMT::intfAccountPrizesMT(
// const QString& _schema,
// const QList<DBM::clsORMField>& _exclusiveCols,
// const QList<DBM::stuRelation>& _exclusiveRelations,
// const QList<stuDBIndex>& _exclusiveIndexes
//) :
// intfAccountPrizes(
// _schema,
// tblAccountPrizesMTBase::Private::ExtraORMFields + _exclusiveCols,
// tblAccountPrizesMTBase::Private::ExtraRelations(_schema) + _exclusiveRelations,
// tblAccountPrizesMTBase::Private::ExtraIndexes + _exclusiveIndexes
// )
//{ ; }

} //namespace Targoman::API::ModuleHelpers::MT::Interfaces
Loading