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:
@@ -5,6 +5,7 @@ edition.workspace = true
|
||||
|
||||
[dependencies]
|
||||
erp-core.workspace = true
|
||||
erp-common.workspace = true
|
||||
tokio.workspace = true
|
||||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
@@ -14,3 +15,8 @@ axum.workspace = true
|
||||
sea-orm.workspace = true
|
||||
tracing.workspace = true
|
||||
anyhow.workspace = true
|
||||
thiserror.workspace = true
|
||||
jsonwebtoken.workspace = true
|
||||
argon2.workspace = true
|
||||
validator.workspace = true
|
||||
utoipa.workspace = true
|
||||
|
||||
Reference in New Issue
Block a user