CLASSE
This commit is contained in:
38
GSBapplication/src/Metier/famille.java
Normal file
38
GSBapplication/src/Metier/famille.java
Normal file
@@ -0,0 +1,38 @@
|
||||
/*
|
||||
* 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 Metier;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author medhi.rodrigues
|
||||
*/
|
||||
public class famille {
|
||||
/**
|
||||
* l'identifiant permettant de connaitre la famille du m<>dicament
|
||||
*/
|
||||
private String id;
|
||||
|
||||
/** LE CONSTRUCTEUR DEFAULT
|
||||
*
|
||||
* @param id
|
||||
*/
|
||||
public famille(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// LES SETTEUR
|
||||
/**
|
||||
* @return the id
|
||||
*/
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "famille{" + "id=" + id + '}';
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user