Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
1.9 kB
1
Indexable
Never
/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template
 */
package gestion_stagiaire;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author lenovo
 */
public class Stagiaire {
      int idS;
      String Nom;
      String Prenom;
      String filliere;
      String Adresse;
      String telephone;
      
     Stagiaire(){}
     Stagiaire (int idS, String Nom, String Prenom, String filliere, String Adresse, String telephone){
             this.idS=idS;
             this.Nom=Nom;
             this.Prenom=Prenom;
             this.filliere=filliere;
             this.Adresse=Adresse;
             this.telephone=telephone;
              
}
     public int getidS (){
         return idS;
     }
     
      public void setidS (){
         this.idS= idS;
     }
      
      public String getNom (){
          return  Nom;
      }
       public void setNom (String Nom){
           this.Nom=Nom;
          }
        public String getPrenom (){
          return  Prenom;
      }
       public void setPrenom (String Prenom){
           this.Prenom=Prenom;
          }
        public String getfilliere (){
          return  filliere;
      }
       public void setfilliere (String filliere){
          this.filliere=filliere;
          }
        public String getAdresse (){
          return  Adresse;
      }
       public void setAdresse (String Adresse ){
           this.Adresse=Adresse;
          }
        public String gettelephone (){
          return  telephone;
      }
       public void settelephone(String telephone){
           this.telephone=telephone;
          }
         
     }
Leave a Comment