class User { constructor(id) { this.user_id = id this.user_name = '' this.user_email = '' this.is_admin = false this.is_poster = false this.is_verified = false } } class Profile { constructor(id, override) { this.user_id = override?.user_id ? override.user_id : id this.profile_id = override?.profile_id ? override.profile_id + id : id } } class Response { constructor(id) { this.response_id = id this.profile_id = null this.response_key_id = null this.val = null } } module.exports = { User, Profile, Response, }