-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathEnseignement.java
More file actions
49 lines (48 loc) · 1.31 KB
/
Enseignement.java
File metadata and controls
49 lines (48 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package modele;
public class Enseignement {
private int id_enseignement;
private int id_classe;
private int id_discipline;
private int id;
public Enseignement(){
this.id_enseignement=0;
this.id_classe=0;
this.id_discipline=0;
this.id=0;
}
public Enseignement(int id_enseignement, int id_classe, int id_discipline,int id){
this.id_enseignement=id_enseignement;
this.id_classe=id_classe;
this.id_discipline=id_discipline;
this.id=id;
}
public void setId_enseignement(int id_enseignement) {
this.id_enseignement=id_enseignement;
}
public void set_classe(int classe) {
this.id_classe=classe;
}
public void set_discipline(int discipline) {
this.id_discipline=discipline;
}
public void set_id(int id) {
this.id=id;
}
public int getId_enseignement(){
return this.id_enseignement;
}
public int get_id(){
return this.id;
}
public int get_id_classe(){
return this.id_classe;
}
public int get_id_discipline(){
return this.id_discipline;
}
}