content: package com.itbulls.learnit.javacore.dao.dto;
  
  import java.math.BigDecimal;
  
  public class UserDto {
  	private int id;
  	private String firstName;
  	private String lastName;
  	private String email;
  	private RoleDto role;
  	private BigDecimal money;
  	private String creditCard;
  	
  	public int getId() {
  		return id;
  	}
  	public void setId(int id) {
  		this.id = id;
  	}
  	public String getFirstName() {
  		return firstName;
  	}
  	public void setFirstName(String firstName) {
  		this.firstName = firstName;
  	}
  	public String getLastName() {
  		return lastName;
  	}
  	public void setLastName(String lastName) {
  		this.lastName = lastName;
  	}
  	public String getEmail() {
  		return email;
  	}
  	public void setEmail(String email) {
  		this.email = email;
  	}
  	public RoleDto getRole() {
  		return role;
  	}
  	public void setRole(RoleDto role) {
  		this.role = role;
  	}
  	public BigDecimal getMoney() {
  		return money;
  	}
  	public void setMoney(BigDecimal money) {
  		this.money = money;
  	}
  	public String getCreditCard() {
  		return creditCard;
  	}
  	public void setCreditCard(String creditCard) {
  		this.creditCard = creditCard;
  	}
  	@Override
  	public String toString() {
  		return "UserDto [id=" + id + ", firstName=" + firstName + ", lastName=" + lastName + ", email=" + email
  				+ ", role=" + role + ", money=" + money + ", creditCard=" + creditCard + "]";
  	}
  	
  }
  