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