Please enable JavaScript.
Coggle requires JavaScript to display documents.
One-KZT (Currency (ROUTE (GET /currency/, GET /currency/{pk}/, PATCH…
One-KZT
Currency
-
MODELS
Currency
name (CharField)
logo (ImageField)
value (FloatField)
reserve (IntegerField)
commission (FloatField)
created_at (DateTimeField)
-
Exchange
MODELS
Exchange
ticket (TokenField)
currencyFrom (FK) (Currency)
currencyTo (FK) (Currency)
currency_rate (FloatField)
sum (FloatField)
status (IntegerField): 0 - Proccess, 1 - Accepted, 2 - Canceled
converter (IntegerField): 0 - FC, 1 - CF, 2 - CC, 3 - FF
full_name (CharField)
email (EmailField)
card_number (CharField)
wallet_address (CharField)
phone (CharField)
created_at (DateTimeField)
#
-
-
Reserves
MODELS
Reserves
wallet_address (CharField)
currency (FK) (Currency)
full_name (CharField)
card_number (CharField)
min_limit (FloatField)
max_limit (FloatField)
created_at (DateTimeField)
#
-
-
Users
-
MODELS
User
full_name (CharField)
email (EmailField)
phone (PhoneField)
status (IntField): 0 - Created, 1 - Active, 2 - Disabled
created_at (DateTimeField)
Fond
MODELS
Fond
owner (FK) (Users)
date (IntegerField)
sum (FloatField)
difference (FloatField)
status (IntegerField): 0 - Process, 1 - Completed, 2 - Saled
sale_rate (FloatField)
created_at (DateTimeField) #
-
-
Wallets
-
MODELS
Wallets
balance (FloatField)
currency (FK) (Currency)
owner (FK) (Users)
status (IntegerField)
created_at (DateTimeField)
# #
Transactions
-
MODELS
Transactions
sum (FloatField)
wallet (FK) (Wallets)
status - (IntegerField): 0 - Process, 1 - Completed, 2 - Canceled
type (IntegerField): 0 - Output, 1 - Input
converter (IntegerField): 0 - FC, 1 - CF, 2 - CC
created_at (DateTimeField) #
Trades
-
MODELS
Trades
wallet (FK) (Wallets)
currency_rate (FloatField)
sum (FloatField)
currency (FK) (Currency)
difference (FloatField)
segment (FloatField)
owner (FK) (Fond)
created_at (DateTimeField)
# # #