added missing class

master
Markus Kreth 4 years ago
parent 8e1dd24d23
commit f2d7dd0506
  1. 24
      src/main/java/de/kreth/invoice/data/ReportLicense.java

@ -0,0 +1,24 @@
package de.kreth.invoice.data;
public enum ReportLicense {
TRAINER("/reports/mtv_gross_buchholz_trainer.jrxml"),
ASSISTANT("/reports/mtv_gross_buchholz.jrxml");
private String ressource;
private ReportLicense(String ressource) {
this.ressource = ressource;
}
public String getRessource() {
return ressource;
}
public String getLabel() {
if (TRAINER == this) {
return "Trainer";
}
return "Übungsleiter";
}
}
Loading…
Cancel
Save