CLASSE
This commit is contained in:
75
GSBapplication/src/Metier/praticien.java
Normal file
75
GSBapplication/src/Metier/praticien.java
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* 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 praticien {
|
||||
/**
|
||||
* id = L'identifiant du praticien
|
||||
* nom = le nom du praticien
|
||||
* prenom = le prenom du praticien
|
||||
* type_praticien = le type de praticien (ex : M<>decine de Ville)
|
||||
*/
|
||||
private int id;
|
||||
private String nom;
|
||||
private String prenom;
|
||||
private String type_praticien;
|
||||
|
||||
|
||||
/** LE CONSTRUCTEUR DEFAULT
|
||||
*
|
||||
* @param id
|
||||
* @param nom
|
||||
* @param prenom
|
||||
* @param type_praticien
|
||||
*/
|
||||
public praticien(int id, String nom, String prenom, String type_praticien) {
|
||||
this.id = id;
|
||||
this.nom = nom;
|
||||
this.prenom = prenom;
|
||||
this.type_praticien = type_praticien;
|
||||
}
|
||||
|
||||
|
||||
//LES GETTEUR
|
||||
/**
|
||||
* @return the id
|
||||
*/
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the nom
|
||||
*/
|
||||
public String getNom() {
|
||||
return nom;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the prenom
|
||||
*/
|
||||
public String getPrenom() {
|
||||
return prenom;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the type_praticien
|
||||
*/
|
||||
public String getType_praticien() {
|
||||
return type_praticien;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Praticien{" + "id=" + id + ", nom=" + nom + ", prenom=" + prenom + ", type_praticien=" + type_praticien + '}';
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user