fixes bug #7982
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@60544 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
f20bc07835
commit
fe49ad15b3
|
@ -73,7 +73,7 @@ public class PuntoVenta implements Serializable {
|
|||
@OneToOne
|
||||
@JoinColumn(name = "EMPRESA_ID")
|
||||
private Empresa empresa;
|
||||
@OneToOne (fetch = FetchType.EAGER)
|
||||
@OneToOne(fetch = FetchType.EAGER)
|
||||
@JoinColumn(name = "COLONIA_ID")
|
||||
private Colonia colonia;
|
||||
@OneToOne
|
||||
|
@ -184,14 +184,13 @@ public class PuntoVenta implements Serializable {
|
|||
@OneToMany(cascade = CascadeType.ALL, mappedBy = "puntoVenta")
|
||||
@LazyCollection(LazyCollectionOption.FALSE)
|
||||
private List<PtovtaCatInd> ptovtaCatIndList;
|
||||
|
||||
|
||||
@Column(name = "CODPOSTAL")
|
||||
private Long codpostal;
|
||||
|
||||
|
||||
|
||||
@Column(name = "INDBLOQCANCIMPPOSTERIOR ")
|
||||
private Boolean indBloqueiaCancelamentoImpressaoPosterior;
|
||||
@Column (name="TEMPOMINIMOIMPRESSAO")
|
||||
@Column(name = "TEMPOMINIMOIMPRESSAO")
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date tempoMinimoParaImpressao;
|
||||
@Column(name = "VALIDATEMPOPARAIMPRESSAO")
|
||||
|
@ -199,6 +198,14 @@ public class PuntoVenta implements Serializable {
|
|||
@Column(name = "EQUIVALENCIA_ID")
|
||||
private String equivalenciaId;
|
||||
|
||||
@Column(name = "FECFECHAMENTO")
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date dateFechamento;
|
||||
|
||||
@Column(name = "FECABERTURA")
|
||||
@Temporal(TemporalType.TIMESTAMP)
|
||||
private Date dateAbertura;
|
||||
|
||||
public PtovtaEmpresaBloqueada addEmpresaBloqueada(Empresa e) {
|
||||
PtovtaEmpresaBloqueada eb = new PtovtaEmpresaBloqueada();
|
||||
eb.setEmpresa(e);
|
||||
|
@ -250,7 +257,8 @@ public class PuntoVenta implements Serializable {
|
|||
public PtovtaTitular getTitularId() {
|
||||
return titularId;
|
||||
}
|
||||
public void setTitularId(PtovtaTitular titularId) {
|
||||
|
||||
public void setTitularId(PtovtaTitular titularId) {
|
||||
this.titularId = titularId;
|
||||
}
|
||||
|
||||
|
@ -271,7 +279,7 @@ public void setTitularId(PtovtaTitular titularId) {
|
|||
this.ptovtaCheckinList = new ArrayList<PtoVtaCheckin>();
|
||||
this.ptovtaSeguroList = new ArrayList<PtoVtaSeguro>();
|
||||
this.ptovtaCatIndList = new ArrayList<PtovtaCatInd>();
|
||||
this.ptovtaEmpresaBloqueadaList = new ArrayList<PtovtaEmpresaBloqueada>();
|
||||
this.ptovtaEmpresaBloqueadaList = new ArrayList<PtovtaEmpresaBloqueada>();
|
||||
}
|
||||
|
||||
public PuntoVenta(Integer puntoventaId) {
|
||||
|
@ -839,8 +847,6 @@ public void setTitularId(PtovtaTitular titularId) {
|
|||
this.indEstoqueMotorista = indEstoqueMotorista;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Boolean getIndBloqueiaCancelamentoImpressaoPosterior() {
|
||||
return indBloqueiaCancelamentoImpressaoPosterior;
|
||||
}
|
||||
|
@ -848,7 +854,7 @@ public void setTitularId(PtovtaTitular titularId) {
|
|||
public void setIndBloqueiaCancelamentoImpressaoPosterior(Boolean indBloqueiaCancelamentoImpressaoPosterior) {
|
||||
this.indBloqueiaCancelamentoImpressaoPosterior = indBloqueiaCancelamentoImpressaoPosterior;
|
||||
}
|
||||
|
||||
|
||||
public Date getTempoMinimoParaImpressao() {
|
||||
return tempoMinimoParaImpressao;
|
||||
}
|
||||
|
@ -871,6 +877,22 @@ public void setTitularId(PtovtaTitular titularId) {
|
|||
|
||||
public void setEquivalenciaId(String equivalenciaId) {
|
||||
this.equivalenciaId = equivalenciaId;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public Date getDateFechamento() {
|
||||
return dateFechamento;
|
||||
}
|
||||
|
||||
public void setDateFechamento(Date dateFechamento) {
|
||||
this.dateFechamento = dateFechamento;
|
||||
}
|
||||
|
||||
public Date getDateAbertura() {
|
||||
return dateAbertura;
|
||||
}
|
||||
|
||||
public void setDateAbertura(Date dateAbertura) {
|
||||
this.dateAbertura = dateAbertura;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue