刘涛 8c0a5f489d Initial commit: hulai admin API backend
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 22:01:23 +08:00

20 行
402 B
Python

from __future__ import annotations
from pydantic import BaseModel
class SeoPageSchema(BaseModel):
title: str | None = None
description: str | None = None
h1: str | None = None
keywords: str | None = None
og_image: str | None = None
tldr: str | None = None
class SeoPageResponse(SeoPageSchema):
id: int
page_key: str
class Config:
from_attributes = True