git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@23984 d1611594-4594-4d17-8e1d-87c2c4800839
parent
087f2384dd
commit
bb755fe033
|
@ -119,36 +119,33 @@ public class EsquemaCorrida implements Serializable {
|
||||||
@Column(name = "INDGENERAFERIADO")
|
@Column(name = "INDGENERAFERIADO")
|
||||||
private String indGeneraFeriado;
|
private String indGeneraFeriado;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public enum GerarFeriado {
|
public enum GerarFeriado {
|
||||||
// Declaração dos enum
|
// Declaração dos enum
|
||||||
GERARSEMPRE ("GERAR SEMPRE", "S"),
|
GERARSEMPRE("GERAR SEMPRE", "S"),
|
||||||
|
|
||||||
GERARQUANDOFERIADO ("GERAR SÓ QUANDO FOR FERIADO", "F"),
|
GERARQUANDOFERIADO("GERAR SÓ QUANDO FOR FERIADO", "F"),
|
||||||
|
|
||||||
GERARQUANDONAOFERIADO ("GERAR QUANDO NÃO FOR FERIADO", "N");
|
GERARQUANDONAOFERIADO("GERAR QUANDO NÃO FOR FERIADO", "N");
|
||||||
|
|
||||||
// Definição das constantes
|
// Definição das constantes
|
||||||
public final String valor;
|
public final String valor;
|
||||||
public final String descricao;
|
public final String descricao;
|
||||||
|
|
||||||
|
|
||||||
public String valor() {
|
public String valor() {
|
||||||
return this.valor;
|
return this.valor;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String descricao() {
|
public String descricao() {
|
||||||
return this.descricao;
|
return this.descricao;
|
||||||
}
|
}
|
||||||
private GerarFeriado( String descricao, String valor) {
|
|
||||||
|
private GerarFeriado(String descricao, String valor) {
|
||||||
this.descricao = descricao;
|
this.descricao = descricao;
|
||||||
this.valor = valor;
|
this.valor = valor;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public String getTipocorrida() {
|
public String getTipocorrida() {
|
||||||
return tipocorrida;
|
return tipocorrida;
|
||||||
}
|
}
|
||||||
|
@ -437,10 +434,6 @@ public class EsquemaCorrida implements Serializable {
|
||||||
this.indGeneraFeriado = indGeneraFeriado;
|
this.indGeneraFeriado = indGeneraFeriado;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 0;
|
int hash = 0;
|
||||||
|
|
|
@ -43,9 +43,9 @@ public class Pricing implements Serializable {
|
||||||
private String nombPricing;
|
private String nombPricing;
|
||||||
@Column(name = "CANTBOLETO")
|
@Column(name = "CANTBOLETO")
|
||||||
private Short cantboleto;
|
private Short cantboleto;
|
||||||
//Rafael - Campo retirado pela Leticia no dia 15/02/2011.
|
// Rafael - Campo retirado pela Leticia no dia 15/02/2011.
|
||||||
//@Column(name = "DESCUENTOIMPORTE")
|
// @Column(name = "DESCUENTOIMPORTE")
|
||||||
//private BigDecimal descuentoimporte;
|
// private BigDecimal descuentoimporte;
|
||||||
@Column(name = "DESCUENTOPORCENTAJE")
|
@Column(name = "DESCUENTOPORCENTAJE")
|
||||||
private BigDecimal descuentoporcentaje;
|
private BigDecimal descuentoporcentaje;
|
||||||
@Column(name = "DESCUENTOPORCREDONDO")
|
@Column(name = "DESCUENTOPORCREDONDO")
|
||||||
|
@ -98,6 +98,36 @@ public class Pricing implements Serializable {
|
||||||
private List<PricingAnticipacion> pricingAnticipacionList;
|
private List<PricingAnticipacion> pricingAnticipacionList;
|
||||||
@OneToMany(mappedBy = "pricing", cascade = CascadeType.ALL)
|
@OneToMany(mappedBy = "pricing", cascade = CascadeType.ALL)
|
||||||
private List<PricingTipoServicio> pricingTipoServicioList;
|
private List<PricingTipoServicio> pricingTipoServicioList;
|
||||||
|
@Column(name = "INDGENERAFERIADOVIAJE")
|
||||||
|
private String indGeneraFeriadoViaje;
|
||||||
|
@Column(name = "INDGENERAFERIADOVENTA")
|
||||||
|
private String indGeneraFeriadoVenta;
|
||||||
|
|
||||||
|
public enum GerarFeriado {
|
||||||
|
// Declaração dos enum
|
||||||
|
GERARSEMPRE("GERAR SEMPRE", "S"),
|
||||||
|
|
||||||
|
GERARQUANDOFERIADO("GERAR SÓ QUANDO FOR FERIADO", "F"),
|
||||||
|
|
||||||
|
GERARQUANDONAOFERIADO("GERAR QUANDO NÃO FOR FERIADO", "N");
|
||||||
|
|
||||||
|
// Definição das constantes
|
||||||
|
public final String valor;
|
||||||
|
public final String descricao;
|
||||||
|
|
||||||
|
public String valor() {
|
||||||
|
return this.valor;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String descricao() {
|
||||||
|
return this.descricao;
|
||||||
|
}
|
||||||
|
|
||||||
|
private GerarFeriado(String descricao, String valor) {
|
||||||
|
this.descricao = descricao;
|
||||||
|
this.valor = valor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public Pricing() {
|
public Pricing() {
|
||||||
}
|
}
|
||||||
|
@ -416,6 +446,22 @@ public class Pricing implements Serializable {
|
||||||
this.pricingTipoServicioList = pricingTipoServicioList;
|
this.pricingTipoServicioList = pricingTipoServicioList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getIndGeneraFeriadoViaje() {
|
||||||
|
return indGeneraFeriadoViaje;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndGeneraFeriadoViaje(String indGeneraFeriadoViaje) {
|
||||||
|
this.indGeneraFeriadoViaje = indGeneraFeriadoViaje;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIndGeneraFeriadoVenta() {
|
||||||
|
return indGeneraFeriadoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndGeneraFeriadoVenta(String indGeneraFeriadoVenta) {
|
||||||
|
this.indGeneraFeriadoVenta = indGeneraFeriadoVenta;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 0;
|
int hash = 0;
|
||||||
|
@ -425,7 +471,6 @@ public class Pricing implements Serializable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object object) {
|
public boolean equals(Object object) {
|
||||||
// TODO: Warning - this method won't work in the case the id fields are not set
|
|
||||||
if (!(object instanceof Pricing)) {
|
if (!(object instanceof Pricing)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -449,7 +494,8 @@ public class Pricing implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param nombPricing the nombPricing to set
|
* @param nombPricing
|
||||||
|
* the nombPricing to set
|
||||||
*/
|
*/
|
||||||
public void setNombPricing(String nombPricing) {
|
public void setNombPricing(String nombPricing) {
|
||||||
this.nombPricing = nombPricing;
|
this.nombPricing = nombPricing;
|
||||||
|
|
|
@ -145,7 +145,6 @@ public class PricingVigencia implements Serializable {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object object) {
|
public boolean equals(Object object) {
|
||||||
// TODO: Warning - this method won't work in the case the id fields are not set
|
|
||||||
if (!(object instanceof PricingVigencia)) {
|
if (!(object instanceof PricingVigencia)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue