rodrigo 2013-03-02 17:54:25 +00:00
parent 73740b7b78
commit 36c3e85b61
1 changed files with 101 additions and 95 deletions

View File

@ -6,7 +6,6 @@ package com.rjconsultores.ventaboletos.entidad;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import javax.persistence.Basic;
import javax.persistence.Column;
@ -33,7 +32,6 @@ public class EstacionSitef implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@Basic(optional = false)
@GeneratedValue(strategy = GenerationType.AUTO, generator = "ESTACION_SITEF_SEQ")
@Column(name = "ESTACIONSITEF_ID")
private Integer estacionsitefId;
@ -56,7 +54,8 @@ public class EstacionSitef implements Serializable {
@Column(name = "FECMODIF")
@Temporal(TemporalType.TIMESTAMP)
private Date fecmodif;
@Column(name = "IPSERVIDOR")
private String ipServidor;
public EstacionSitef() {
}
@ -121,7 +120,6 @@ public class EstacionSitef implements Serializable {
this.fecmodif = fecmodif;
}
@Override
public int hashCode() {
int hash = 0;
@ -131,7 +129,8 @@ public class EstacionSitef implements Serializable {
@Override
public boolean equals(Object object) {
// TODO: Warning - this method won't work in the case the id fields are not set
// TODO: Warning - this method won't work in the case the id fields are
// not set
if (!(object instanceof EstacionSitef)) {
return false;
}
@ -163,4 +162,11 @@ public class EstacionSitef implements Serializable {
this.estacion = estacion;
}
public String getIpServidor() {
return ipServidor;
}
public void setIpServidor(String ipServidor) {
this.ipServidor = ipServidor;
}
}