// Path: app/src/main/java/com/jonathanpetitfrere/mvvm/repository/api/model/User.java
// public class User {
// 
//     @SerializedName("email")
//     private String email;
// 
//     @SerializedName("first_name")
//     private String firstName;
// 
//     @SerializedName("last_name")
//     private String lastName;
// 
//     public User(String email, String firstName, String lastName) {
//         this.email = email;
//         this.firstName = firstName;
//         this.lastName = lastName;
//     }
// 
//     public String getEmail() {
//         return email;
//     }
// 
//     public String getFirstName() {
//         return firstName;
//     }
// 
//     public String getLastName() {
//         return lastName;
//     }
// }


import com.jonathanpetitfrere.mvvm.repository.api.model.User;
import javax.inject.Inject;
import javax.inject.Singleton;
package com.jonathanpetitfrere.mvvm.repository.mapper;



/**
 * @author jpetit
 */

@Singleton
public class UserMapper {

    @Inject
    public UserMapper() {}

// Path: app/src/main/java/com/jonathanpetitfrere/mvvm/repository/api/model/User.java
// public class User {
// 
//     @SerializedName("email")
//     private String email;
// 
//     @SerializedName("first_name")
//     private String firstName;
// 
//     @SerializedName("last_name")
//     private String lastName;
// 
//     public User(String email, String firstName, String lastName) {
//         this.email = email;
//         this.firstName = firstName;
//         this.lastName = lastName;
//     }
// 
//     public String getEmail() {
//         return email;
//     }
// 
//     public String getFirstName() {
//         return firstName;
//     }
// 
//     public String getLastName() {
//         return lastName;
//     }
// }


// Path: app/src/main/java/com/jonathanpetitfrere/mvvm/repository/mapper/UserMapper.java
import com.jonathanpetitfrere.mvvm.repository.api.model.User;
import javax.inject.Inject;
import javax.inject.Singleton;

package com.jonathanpetitfrere.mvvm.repository.mapper;



/**
 * @author jpetit
 */

@Singleton
public class UserMapper {

    @Inject
    public UserMapper() {}

    public User toModel(com.jonathanpetitfrere.mvvm.repository.persistence.entity.User userEntity) {