création des variables membres de la classe Instrument
This commit is contained in:
parent
9a0b3f147b
commit
6fc99cba67
@ -10,4 +10,17 @@ package métiers;
|
||||
*/
|
||||
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;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user