This commit is contained in:
2026-08-26 11:49:01 +08:00
parent dd80d265ac
commit 1659a0b79d
8 changed files with 300 additions and 28 deletions
+16
View File
@@ -156,6 +156,22 @@ class ApplicationOut(BaseModel):
from_attributes = True
# =======================================================
# 公司黑名单
# =======================================================
class BlacklistIn(BaseModel):
company: str = Field(..., min_length=1, max_length=128, description="公司名")
class BlacklistOut(BaseModel):
id: int
company: str
created_at: datetime
class Config:
from_attributes = True
# =======================================================
# 通用
# =======================================================