mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-02-01 16:48:50 +00:00
hecho el backed del presupuesto maquetacion
This commit is contained in:
@ -0,0 +1,44 @@
|
||||
package com.imprimelibros.erp.presupuesto.maquetacion;
|
||||
|
||||
import jakarta.persistence.*;
|
||||
|
||||
@Entity
|
||||
@Table(name = "maquetacion_matrices_formato")
|
||||
public class MaquetacionMatrices {
|
||||
|
||||
public enum Formato{
|
||||
A5, _17x24_, A4
|
||||
}
|
||||
|
||||
public enum FontSize{
|
||||
small, medium, big
|
||||
}
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
private Formato formato;
|
||||
|
||||
@Enumerated(EnumType.STRING)
|
||||
private FontSize tamanio_letra;
|
||||
|
||||
private int matrices_pagina;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public Formato getFormato() {
|
||||
return formato;
|
||||
}
|
||||
|
||||
public FontSize getTamanioLetra() {
|
||||
return tamanio_letra;
|
||||
}
|
||||
|
||||
public int getMatricesPagina() {
|
||||
return matrices_pagina;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user