Coverage for app/ddd/presentation/schema/user/user_response.py: 100%
12 statements
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-15 01:44 +0000
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-15 01:44 +0000
3from app.core.base import BaseResponse
4from app.ddd.domain.model import User
7class GetUserResponse(BaseResponse):
8 # user_id: str
9 # user_password: SecretStr
10 # user_name: str
11 # user_role_code: str
12 user: User
14class CreateUserResponse(BaseResponse):
15 user_id: str
17class PatchUserResponse(BaseResponse):
18 user_id: str
20class DeleteUserResponse(BaseResponse):
21 user_id: str
23class QueryUserResponse(BaseResponse):
24 users: list[User]