forked from hummel/Bank-System
test3
parent
d5616f14f6
commit
2f85e40ff0
|
@ -1,5 +1,5 @@
|
||||||
package de.hs_mannheim.informatik.bank.domain;
|
package de.hs_mannheim.informatik.bank.domain;
|
||||||
|
|
||||||
public class Depot {
|
public class Depot extends Geldanlage {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package de.hs_mannheim.informatik.bank.domain;
|
package de.hs_mannheim.informatik.bank.domain;
|
||||||
|
|
||||||
public class Geldanlage {
|
public class Geldanlage {
|
||||||
|
|
||||||
|
private Kunde inhaber;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ package de.hs_mannheim.informatik.bank.domain;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class Konto implements Serializable {
|
public class Konto extends Geldanlage implements Serializable {
|
||||||
private int nummer;
|
private int nummer;
|
||||||
protected long stand = 0;
|
protected long stand = 0;
|
||||||
private String inhaber;
|
private String inhaber;
|
||||||
|
|
Loading…
Reference in New Issue