[feat] negodata/backend: 카드 도메인 CRUD 추가 + 견적·auth 보강

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 4.8 committed 2026-06-18 11:00:15 +09:00
1 parent 1fef405e88
commit e7660b10ac
11 files changed
+608 -31

No files matched your search

+2 -1
View File
@@ -4,7 +4,7 @@ from fastapi import Depends
from common.database.db_session_manager import DB_SESSION_MNG
from common.database.model.models import users
from common.enums import DBWRType, ErrorType, UserStatus, UserRole
from common.enums import DBWRType, ErrorType, UserStatus, UserRole, ENUM_LABELS
from common.logger import LOG
from common.models.gmodel import UserInfo
from crud.user_crud import IUserCRUD, UserCRUD
@@ -156,6 +156,7 @@ class AuthService:
res.email = user.email
res.contact_number = user.contact_number
res.role = user.role
res.role_label = ENUM_LABELS.get(UserRole(user.role), str(user.role))
res.company = company
return res