[feat] negodata/backend: 상품·협력사·견적 도메인 CRUD + delivery_type 코드화 + 공용 /v1/enums

- 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>
This commit is contained in:
minaChoiandClaude Opus 4.8 committed 2026-06-17 15:58:38 +09:00
1 parent 7e2d5e5978
commit 1f778ab975
33 files changed
+2255 -85

No files matched your search

+3 -3
View File
@@ -48,9 +48,9 @@ class Res_WebPacketProtocol(WebPacketProtocol):
class UserInfo(StructModel):
"""JWT subject 로 인코딩되는 유저 식별 정보."""
uid: int
id: str
nickname: str
user_id: str # users.user_id (uuid) — 데이터 스코프 키
id: str # users.id (로그인 아이디) — get_me 재조회 키
company_id: str # users.company_id (uuid) — 멀티테넌트 스코프 키
def __init__(self, *args, **kwargs) -> None:
super().__init__()