QC check
This commit is contained in:
@@ -3,8 +3,10 @@ from datetime import datetime
|
||||
from typing import List, Optional
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, EmailStr, Field, field_validator
|
||||
|
||||
from models.api.product import ProductResponse
|
||||
|
||||
|
||||
class ShopCreate(BaseModel):
|
||||
shop_code: str = Field(
|
||||
...,
|
||||
@@ -82,6 +84,7 @@ class ShopListResponse(BaseModel):
|
||||
skip: int
|
||||
limit: int
|
||||
|
||||
|
||||
class ShopProductCreate(BaseModel):
|
||||
product_id: str = Field(..., description="Product ID to add to shop")
|
||||
shop_product_id: Optional[str] = Field(
|
||||
|
||||
Reference in New Issue
Block a user