24 lines
447 B
Python
24 lines
447 B
Python
from aiogram.fsm.state import State, StatesGroup
|
|
|
|
|
|
class CheckoutStorage(StatesGroup):
|
|
name = State()
|
|
phone = State()
|
|
address = State()
|
|
confirmation = State()
|
|
|
|
|
|
class PaymentStorage(StatesGroup):
|
|
refresh = State()
|
|
|
|
|
|
class SearchStorage(StatesGroup):
|
|
query = State()
|
|
|
|
|
|
class AdminControlStorage(StatesGroup):
|
|
edit_product = State()
|
|
edit_product_photo = State()
|
|
edit_category = State()
|
|
new_category = State()
|