23 lines
414 B
Python
23 lines
414 B
Python
from aiogram.fsm.state import StatesGroup, State
|
|
|
|
|
|
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_category = State()
|
|
new_category = State()
|