blob: fe276facccf5672640880f244ec8366abb837819 (
plain)
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
50
51
52
53
54
55
56
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package helper;
import java.io.Serializable;
/**
* Die Klasse stellt eine Auftragsposition dar
* @author jmueller
*/
public class AuftragsPosition implements Serializable {
private int id;
private int anzahl;
public AuftragsPosition() {
this.id = 0;
this.anzahl = 0;
}
public AuftragsPosition(int _id, int _anzahl){
this.id = _id;
this.anzahl = _anzahl;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getAnzahl() {
return anzahl;
}
public void setAnzahl(int anzahl) {
this.anzahl = anzahl;
}
@Override
public String toString(){
return "Id: " + this.id + ", Anzahl: " + this.anzahl;
}
}
|