<reponame>samuVillegas/peckyPet
'use strict'

module.exports = {
    CreateUserRequestDTO:(data) => {
        return {
            full_name:data.full_name,
            last_name:data.last_name,
            address:data.address,
            user_type:data.user_type,
            email:data.email,
            password:<PASSWORD>,
            mobile_phone:data.mobile_phone
        }
    },
    UpdateUserRequestDTO:(data) => {
        return {
            id:data.id,
            full_name:data.full_name,
            last_name:data.last_name,
            address:data.address,
            user_type:data.user_type,
            email:data.email,
            password:<PASSWORD>
        }
    },
    LoginUserRequestDTO:(data) => {
        return {
            email:data.email,
            password:<PASSWORD>
        }
    },
    UserResponseDTO:(data) => {
        return {
            id:data.id,
            full_name:data.full_name,
            last_name:data.last_name,
            address:data.address,
            user_type:data.user_type,
            email:data.email,
            password:<PASSWORD>,
            register_date:data.register_date
        }
    }
}
