Commit 22f3550c authored by Lucas NAURY's avatar Lucas NAURY

Add annonce class

parent 1ffb5a2c
Pipeline #2719 canceled with stages
package com.example.tpleboncoin.models;
public class Annonce {
private String titre;
private String adresse;
private int image;
//Constructeur
public Annonce(String titre, String adresse, int image) {
this.titre = titre;
this.adresse = adresse;
this.image = image;
}
// Getter and Setter
public String getTitre() {
return titre;
}
public void setTitre(String titre) {
this.titre = titre;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment