created user management

This commit is contained in:
2025-10-16 10:55:59 +07:00
parent 517a7a4b64
commit 8bf4f20d85
6 changed files with 254 additions and 0 deletions

View File

@@ -12,6 +12,10 @@ class UserResource {
this.updated_at = user?.updated_at ?? null
}
static collection(users) {
return users.map(user => new UserResource(user));
}
}
module.exports = UserResource