]> git.somenet.org - pub/jan/sbc.git/blob - src/main/java/at/ac/tuwien/sbc/valesriegler/types/PizzaType.java
großer Brocken an GruppenGui-Änderungen kombiniert mit ersten Teil des Bestellworkflows.
[pub/jan/sbc.git] / src / main / java / at / ac / tuwien / sbc / valesriegler / types / PizzaType.java
1 package at.ac.tuwien.sbc.valesriegler.types;
2
3 import java.io.Serializable;
4
5 public enum PizzaType implements Serializable {
6         MARGHERITA(5, 3), SALAMI(5.5, 7), CARDINALE(6,5);
7         
8         public final double price;
9         public final double duration;
10
11         private PizzaType(double price, double duration) {
12                 this.price = price;
13                 this.duration = duration;
14         }
15 }