forked from LaureStrumfeld/ProjetJava-ING3
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInscription.java
More file actions
41 lines (39 loc) · 1.02 KB
/
Inscription.java
File metadata and controls
41 lines (39 loc) · 1.02 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
/*
* 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 Inscription {
private int id_inscription;
private int id_classe;
private int id;
public Inscription(){
this.id_inscription=0;
this.id_classe=0;
this.id=0;
}
public Inscription(int id_inscription,int id_classe,int id){
this.id_inscription=id_inscription;
this.id_classe=id_classe;
this.id=id;
}
public void setId_inscription(int id_inscription) {
this.id_inscription=id_inscription;
}
public void setId_classe(int id_classe) {
this.id_classe=id_classe;
}
public void setId(int id) {
this.id=id;
}
public int getId_inscription(){
return this.id_inscription;
}
public int getId_classe(){
return this.id_classe;
}
public int getId(){
return this.id;
}
}