classe Entreprise modifiée
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#pour netbeans
|
||||
Libraries/*
|
||||
Test Libraries/*
|
@@ -12,6 +12,25 @@ import métiers.Commande;
|
||||
*/
|
||||
public class Entreprise {
|
||||
private String raisonSociale;
|
||||
|
||||
public Entreprise(String raisonSociale) {
|
||||
this.raisonSociale = raisonSociale;
|
||||
}
|
||||
|
||||
public String getRaisonSociale() {
|
||||
return raisonSociale;
|
||||
}
|
||||
|
||||
public void setRaisonSociale(String raisonSociale) {
|
||||
this.raisonSociale = raisonSociale;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Entreprise{" + "raisonSociale=" + raisonSociale + '}';
|
||||
}
|
||||
|
||||
|
||||
public void ajouterCommande(Commande uneCommande){
|
||||
}
|
||||
public void supprimerCommande(Commande uneCommande){
|
||||
|
Reference in New Issue
Block a user