mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-02-01 16:48:50 +00:00
acabando presupuesto
This commit is contained in:
@ -7,11 +7,29 @@ import jakarta.persistence.*;
|
||||
public class MaquetacionMatrices {
|
||||
|
||||
public enum Formato{
|
||||
A5, _17x24_, A4
|
||||
A5, _17x24_, A4;
|
||||
private final String label;
|
||||
Formato() {
|
||||
this.label = this.name().indexOf('_') > -1 ? this.name().replace("_", "") + " mm" : this.name();
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
return label;
|
||||
}
|
||||
}
|
||||
|
||||
public enum FontSize{
|
||||
small, medium, big
|
||||
small("presupuesto.maquetacion.cuerpo-texto-pequeño"),
|
||||
medium("presupuesto.maquetacion.cuerpo-texto-medio"),
|
||||
big("presupuesto.maquetacion.cuerpo-texto-grande");
|
||||
|
||||
private final String messageKey;
|
||||
FontSize(String messageKey) {
|
||||
this.messageKey = messageKey;
|
||||
}
|
||||
public String getMessageKey() {
|
||||
return messageKey;
|
||||
}
|
||||
}
|
||||
|
||||
@Id
|
||||
|
||||
Reference in New Issue
Block a user