- item/supplier/quotation/quotation_setting CRUD·service·router 추가 - item protocol delivery_type str→int (ERD/스키마 SMALLINT 일치) - DeliveryType enum + 한글 라벨, 공용 GET /v1/enums (도메인 코드 메타데이터) - CompanyBrief → CompanyData 로 *Data 네이밍 통일 - CORS: WebServerConfig.client_url(단일) 도입 (config_models/router) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
294 B
Python
16 lines
294 B
Python
from common.models.gmodel import Res_WebPacketProtocol, WebPacketProtocol
|
|
|
|
|
|
class EnumsProtocol(WebPacketProtocol):
|
|
pass
|
|
|
|
|
|
class EnumOption(WebPacketProtocol):
|
|
value: int
|
|
name: str
|
|
label: str
|
|
|
|
|
|
class Res_Enums(Res_WebPacketProtocol):
|
|
enums: dict[str, list[EnumOption]] = {}
|