package com.example.managerstaff.models.responses;
import com.example.managerstaff.models.User;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Generated;
@Generated("jsonschema2pojo")
public class UserResponse {
@SerializedName("data")
@Expose
private User user;
@SerializedName("message")
@Expose
private String message;
@SerializedName("code")
@Expose
private int code;
public UserResponse() {
}
public UserResponse(User user, String message, int code) {
this.user = user;
this.message = message;
this.code = code;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
}