From ffb727d00f1a3725f6c1d59d1ae2fbe1fefd227d Mon Sep 17 00:00:00 2001 From: valdir Date: Fri, 10 Jun 2022 17:45:01 +0000 Subject: [PATCH] =?UTF-8?q?0024539:=20GLPI=2051302=20-=20Espec=20Validar?= =?UTF-8?q?=20Benef=C3=ADcio=20Idoso=20bug#24539=20dev:valdevir=20qua:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@112707 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/entidad/CategoriaDescuento.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java b/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java index 5a4fb4d0b..d04841d02 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java +++ b/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java @@ -230,6 +230,9 @@ public class CategoriaDescuento implements Serializable { @ManyToOne(cascade = CascadeType.ALL) private Categoria categoriaInterage; + @Column(name = "INDEXIGENUMFIDELIDADE") + private Boolean indExigeNumFidelidade; + public enum DisponibilidadeFeriado { // Declaração dos enum GERARSEMPRE("SEMPRE", "S"), @@ -969,4 +972,11 @@ public class CategoriaDescuento implements Serializable { this.categoriaInterage = categoriaInterage; } + public Boolean getIndExigeNumFidelidade() { + return indExigeNumFidelidade == null ? false : indExigeNumFidelidade; + } + + public void setIndExigeNumFidelidade(Boolean indExigeNumFidelidade) { + this.indExigeNumFidelidade = indExigeNumFidelidade; + } }