feat(auth): add SeaORM entities and DTOs for auth module

- 11 entity files mapping to all auth migration tables
- DTOs with validation: LoginReq, CreateUserReq, CreateRoleReq, etc.
- Response DTOs: UserResp, RoleResp, PermissionResp, OrganizationResp, etc.
- Added workspace dependencies: jsonwebtoken, argon2, validator, thiserror, utoipa
This commit is contained in:
iven
2026-04-11 02:53:41 +08:00
parent d98e0d383c
commit 411a07caa1
14 changed files with 680 additions and 1 deletions

View File

@@ -1 +1,2 @@
// erp-auth: 身份与权限模块 (Phase 2)
pub mod dto;
pub mod entity;