54 lines
1.1 KiB
Python
54 lines
1.1 KiB
Python
"""Schema模块"""
|
|
from app.schemas.common import (
|
|
PaginationParams,
|
|
PaginationResult,
|
|
IdInput,
|
|
StatusInput,
|
|
DeleteInput,
|
|
)
|
|
from app.schemas.auth import (
|
|
LoginRequest,
|
|
LoginResponse,
|
|
UserCreate as AuthUserCreate,
|
|
UserResponse as AuthUserResponse,
|
|
ChangePasswordRequest,
|
|
ResetPasswordRequest,
|
|
)
|
|
from app.schemas.leave import (
|
|
LeaveCreate,
|
|
LeaveUpdate,
|
|
LeaveResponse,
|
|
)
|
|
from app.schemas.menu import (
|
|
MenuMeta,
|
|
MenuItem,
|
|
MenuListResponse,
|
|
)
|
|
from app.schemas.user import (
|
|
UserBase,
|
|
UserCreate,
|
|
UserUpdate,
|
|
UserResponse,
|
|
UserListResponse,
|
|
LoginRequest as UserLoginRequest,
|
|
LoginResponse as UserLoginResponse,
|
|
ChangePasswordRequest as UserChangePasswordRequest,
|
|
ResetPasswordRequest as UserResetPasswordRequest,
|
|
)
|
|
from app.schemas.workflow import (
|
|
ProcessDefCreate,
|
|
ProcessDefUpdate,
|
|
ProcessDefResponse,
|
|
NodeData,
|
|
TransitionData,
|
|
PublishVersionRequest,
|
|
VersionResponse,
|
|
StartInstanceRequest,
|
|
ApproveRequest,
|
|
TaskResponse,
|
|
InstanceResponse,
|
|
)
|
|
from app.schemas.attachment import (
|
|
AttachmentUploadResponse,
|
|
)
|