44 lines
704 B
Java
44 lines
704 B
Java
package com.baeldung.dozer;
|
|
|
|
public class Personne {
|
|
private String nom;
|
|
private String surnom;
|
|
private int age;
|
|
|
|
public Personne() {
|
|
|
|
}
|
|
|
|
public Personne(String nom, String surnom, int age) {
|
|
super();
|
|
this.nom = nom;
|
|
this.surnom = surnom;
|
|
this.age = age;
|
|
}
|
|
|
|
public String getNom() {
|
|
return nom;
|
|
}
|
|
|
|
public void setNom(String nom) {
|
|
this.nom = nom;
|
|
}
|
|
|
|
public String getSurnom() {
|
|
return surnom;
|
|
}
|
|
|
|
public void setSurnom(String surnom) {
|
|
this.surnom = surnom;
|
|
}
|
|
|
|
public int getAge() {
|
|
return age;
|
|
}
|
|
|
|
public void setAge(int age) {
|
|
this.age = age;
|
|
}
|
|
|
|
}
|