Private
Public Access
forked from FOSS/AutoShop-Djimbo-Simple
feat(referral): add referral system with withdrawals
This commit is contained in:
@@ -6,7 +6,29 @@ from .db_purchases import PurchaseModel, Purchasesx
|
||||
from .db_refill import RefillModel, Refillx
|
||||
from .db_settings import SettingsModel, Settingsx
|
||||
from .db_users import UserModel, UsersRepository, Userx
|
||||
from .entities import Category, Item, Payments, Position, Purchase, Refill, Settings, User
|
||||
|
||||
from .db_referral import (
|
||||
ReferralModel,
|
||||
ReferralTransactionModel,
|
||||
ReferralWithdrawalModel,
|
||||
Referralx,
|
||||
ReferralTransactionx,
|
||||
ReferralWithdrawalx,
|
||||
)
|
||||
|
||||
from .entities import (
|
||||
Category,
|
||||
Item,
|
||||
Payments,
|
||||
Position,
|
||||
Purchase,
|
||||
Refill,
|
||||
Settings,
|
||||
User,
|
||||
Referral,
|
||||
ReferralTransaction,
|
||||
ReferralWithdrawal,
|
||||
)
|
||||
|
||||
ModelCategory = Category
|
||||
ModelItem = Item
|
||||
@@ -18,3 +40,7 @@ ModelSettings = Settings
|
||||
ModelUser = User
|
||||
ModelUsers = User
|
||||
SettingsRepository = Settingsx
|
||||
|
||||
ModelReferral = Referral
|
||||
ModelReferralTransaction = ReferralTransaction
|
||||
ModelReferralWithdrawal = ReferralWithdrawal
|
||||
|
||||
Reference in New Issue
Block a user