cours0708/workspace/ROOT/Article.java
2008-11-25 22:11:16 +01:00

79 lines
1.4 KiB
Java

public class Article
{
private String ref = "";
private String categ = "";
private String marque = "";
private String modele = "";
private double prix = 0;
private String photo = "";
private String description = "";
private int quantite = 0;
public String getRef()
{
return this.ref;
}
public String getCateg()
{
return this.categ;
}
public String getMarque()
{
return this.marque;
}
public String getModele()
{
return this.modele;
}
public double getPrix()
{
return this.prix;
}
public String getPhoto()
{
return this.photo;
}
public String getDescription()
{
return this.description;
}
public void setRef(String ref)
{
this.ref = ref;
}
public void setCateg(String categ)
{
this.categ = categ;
}
public void setMarque(String marque)
{
this.marque = marque;
}
public void setModele(String modele)
{
this.modele = modele;
}
public void setPrix(double prix)
{
this.prix = prix;
}
public void setPhoto(String photo)
{
this.photo = photo;
}
public void setDescription(String description)
{
this.description = description;
}
public int getQuantite()
{
return this.quantite;
}
public void setQuantite(int quantite)
{
this.quantite = quantite;
}
}