API and database models refactoring
This commit is contained in:
@@ -152,7 +152,7 @@ class StatusResponse(BaseModel):
|
||||
|
||||
```python
|
||||
# In route files
|
||||
from models.database import User, Product, Stock
|
||||
from models.database.user import User, Product, Stock
|
||||
from models.api.auth import UserLogin, UserResponse
|
||||
from models.api.product import ProductCreate, ProductListResponse
|
||||
|
||||
|
||||
Reference in New Issue
Block a user