created API For Aplication Absensi

This commit is contained in:
2025-10-14 14:08:11 +07:00
commit 96d206d892
56 changed files with 6533 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class UserResource {
constructor(user) {
this.id = user?.id ?? null
this.name = user?.name ?? null
this.email = user?.email ?? null
this.phone = user?.phone ?? null
//this.role = user?.role ?? null
this.via = user?.login_via ?? null
this.google_id = user?.google_id ?? null
this.last_login = user?.last_login ?? null
this.created_at = user?.created_at ?? null
this.updated_at = user?.updated_at ?? null
}
}
module.exports = UserResource