git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@24865 d1611594-4594-4d17-8e1d-87c2c4800839
parent
73740b7b78
commit
36c3e85b61
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue