bug #8485
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@64470 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a4c8faf203
commit
c994bb9470
|
@ -61,6 +61,8 @@ public class Constantes {
|
||||||
public static final int INTERVALO_FECHAMENTO_DECENDIAL = 10;
|
public static final int INTERVALO_FECHAMENTO_DECENDIAL = 10;
|
||||||
public static final int INTERVALO_FECHAMENTO_QUINZENAL = 15;
|
public static final int INTERVALO_FECHAMENTO_QUINZENAL = 15;
|
||||||
public static final int INTERVALO_FECHAMENTO_MENSAL = 30;
|
public static final int INTERVALO_FECHAMENTO_MENSAL = 30;
|
||||||
public static final int LIMITE_EVENTO_EXTRA_EDITAVEL = 99000;//TipoEventoExtra com id >= 99000 não são editáveis.
|
public static final int LIMITE_EVENTO_EXTRA_EDITAVEL = 99000;//TipoEventoExtra com id >= 99000 não são editáveis.
|
||||||
|
|
||||||
|
public static final String DESCONTO_COMPONENTE_PRECO = "DESCONTO_COMPONENTE_PRECO";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,12 +27,6 @@ import javax.persistence.Table;
|
||||||
import javax.persistence.Temporal;
|
import javax.persistence.Temporal;
|
||||||
import javax.persistence.TemporalType;
|
import javax.persistence.TemporalType;
|
||||||
|
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
|
||||||
|
|
||||||
|
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import com.rjconsultores.ventaboletos.enums.HorarioLiberacaoVendaPassagem;
|
import com.rjconsultores.ventaboletos.enums.HorarioLiberacaoVendaPassagem;
|
||||||
|
@ -119,7 +113,13 @@ public class CategoriaDescuento implements Serializable {
|
||||||
|
|
||||||
@Enumerated(EnumType.ORDINAL)
|
@Enumerated(EnumType.ORDINAL)
|
||||||
@Column(name = "HORARIOLIBERACAOVENDAPESSAGEM")
|
@Column(name = "HORARIOLIBERACAOVENDAPESSAGEM")
|
||||||
private HorarioLiberacaoVendaPassagem horarioLiberacaoVendaPassagem;
|
private HorarioLiberacaoVendaPassagem horarioLiberacaoVendaPassagem;
|
||||||
|
|
||||||
|
@Column(name = "TIPODESCCOMPPRECO")
|
||||||
|
private Integer tipodesccomppreco;
|
||||||
|
|
||||||
|
@Column(name = "DESCCOMPPRECO")
|
||||||
|
private BigDecimal desccomppreco;
|
||||||
|
|
||||||
public enum DisponibilidadeFeriado {
|
public enum DisponibilidadeFeriado {
|
||||||
// Declaração dos enum
|
// Declaração dos enum
|
||||||
|
@ -146,6 +146,23 @@ public class CategoriaDescuento implements Serializable {
|
||||||
this.valor = valor;
|
this.valor = valor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum TipoDescontoComponentePreco {
|
||||||
|
|
||||||
|
DESCONTO_COMPONENTE_PRECO_PERC(1),
|
||||||
|
DESCONTO_COMPONENTE_PRECO_VALOR(2);
|
||||||
|
|
||||||
|
public final Integer valor;
|
||||||
|
|
||||||
|
public Integer getValor() {
|
||||||
|
return valor;
|
||||||
|
}
|
||||||
|
|
||||||
|
private TipoDescontoComponentePreco(Integer valor) {
|
||||||
|
this.valor = valor;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public CategoriaDescuento() {
|
public CategoriaDescuento() {
|
||||||
}
|
}
|
||||||
|
@ -501,4 +518,20 @@ public class CategoriaDescuento implements Serializable {
|
||||||
this.horarioLiberacaoVendaPassagem = horarioLiberacaoVendaPassagem;
|
this.horarioLiberacaoVendaPassagem = horarioLiberacaoVendaPassagem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getTipodesccomppreco() {
|
||||||
|
return tipodesccomppreco;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTipodesccomppreco(Integer tipodesccomppreco) {
|
||||||
|
this.tipodesccomppreco = tipodesccomppreco;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getDesccomppreco() {
|
||||||
|
return desccomppreco;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDesccomppreco(BigDecimal desccomppreco) {
|
||||||
|
this.desccomppreco = desccomppreco;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue