Compare commits

..

No commits in common. "aeffca7bccb6cd9b66f663026cb14ff89e84fd78" and "9a0b3f147bf7febec553231f62c05f0b66883e01" have entirely different histories.

View File

@ -1,63 +1,13 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package métiers;
/**
*
* @author famille Thevenot
*/
public class Instrument {
private int ref;
private String designation;
private int qteStock;
private float prix;
public Instrument(int ref, String designation, int qteStock, float prix){
this.ref=ref;
this.designation=designation;
this.qteStock=qteStock;
this.prix=prix;
}
@Override
public String toString() {
return "Instrument{" + "ref=" + ref + ", designation=" + designation + ", qteStock=" + qteStock + ", prix=" + prix + '}';
}
public void setRef(int ref) {
this.ref = ref;
}
public void setDesignation(String designation) {
this.designation = designation;
}
public void setQteStock(int qteStock) {
this.qteStock = qteStock;
}
public void setPrix(float prix) {
this.prix = prix;
}
public int getRef() {
return ref;
}
public String getDesignation() {
return designation;
}
public int getQteStock() {
return qteStock;
}
public float getPrix() {
return prix;
}
}
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package métiers;
/**
*
* @author famille Thevenot
*/
public class Instrument {
}