12 lines
313 B
Python
12 lines
313 B
Python
from pydantic import BaseModel, ConfigDict
|
|
from typing import Optional
|
|
|
|
class LofiChannelResponse(BaseModel):
|
|
model_config = ConfigDict(from_attributes=True)
|
|
id: str
|
|
name: str
|
|
stream_url: str
|
|
image_path: Optional[str]
|
|
description: Optional[str]
|
|
source_platform: str
|
|
is_active: bool |