git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@20755 d1611594-4594-4d17-8e1d-87c2c4800839
parent
33bbc90814
commit
ad643379f6
|
@ -26,7 +26,7 @@ import javax.persistence.TemporalType;
|
||||||
import javax.persistence.SequenceGenerator;
|
import javax.persistence.SequenceGenerator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Rafius
|
* @author Rafius
|
||||||
*/
|
*/
|
||||||
@Entity
|
@Entity
|
||||||
|
@ -34,375 +34,375 @@ import javax.persistence.SequenceGenerator;
|
||||||
@Table(name = "PUNTO_VENTA")
|
@Table(name = "PUNTO_VENTA")
|
||||||
public class PuntoVenta implements Serializable {
|
public class PuntoVenta 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 = "PUNTO_VENTA_SEQ")
|
@GeneratedValue(strategy = GenerationType.AUTO, generator = "PUNTO_VENTA_SEQ")
|
||||||
@Column(name = "PUNTOVENTA_ID")
|
@Column(name = "PUNTOVENTA_ID")
|
||||||
private Integer puntoventaId;
|
private Integer puntoventaId;
|
||||||
@Column(name = "NOMBPUNTOVENTA")
|
@Column(name = "NOMBPUNTOVENTA")
|
||||||
private String nombpuntoventa;
|
private String nombpuntoventa;
|
||||||
@Column(name = "DIRECCIONCALLE")
|
@Column(name = "DIRECCIONCALLE")
|
||||||
private String direccioncalle;
|
private String direccioncalle;
|
||||||
@Column(name = "DIRECCIONNUMERO")
|
@Column(name = "DIRECCIONNUMERO")
|
||||||
private String direccionnumero;
|
private String direccionnumero;
|
||||||
@Column(name = "STATUSAPROBACION")
|
@Column(name = "STATUSAPROBACION")
|
||||||
private String statusaprobacion;
|
private String statusaprobacion;
|
||||||
@Column(name = "COMENTARIOS")
|
@Column(name = "COMENTARIOS")
|
||||||
private String comentarios;
|
private String comentarios;
|
||||||
@Column(name = "NUMTELEFONOUNO")
|
@Column(name = "NUMTELEFONOUNO")
|
||||||
private String numtelefonouno;
|
private String numtelefonouno;
|
||||||
@Column(name = "NUMTELEFONODOS")
|
@Column(name = "NUMTELEFONODOS")
|
||||||
private String numtelefonodos;
|
private String numtelefonodos;
|
||||||
@Column(name = "FECMODIF")
|
@Column(name = "FECMODIF")
|
||||||
@Temporal(TemporalType.TIMESTAMP)
|
@Temporal(TemporalType.TIMESTAMP)
|
||||||
private Date fecmodif;
|
private Date fecmodif;
|
||||||
@Column(name = "USUARIO_ID")
|
@Column(name = "USUARIO_ID")
|
||||||
private Integer usuarioId;
|
private Integer usuarioId;
|
||||||
@Column(name = "ACTIVO")
|
@Column(name = "ACTIVO")
|
||||||
private Boolean activo;
|
private Boolean activo;
|
||||||
@Column(name = "DESCCORREO")
|
@Column(name = "DESCCORREO")
|
||||||
private String descCorreo;
|
private String descCorreo;
|
||||||
@OneToOne
|
@OneToOne
|
||||||
@JoinColumn(name = "EMPRESA_ID")
|
@JoinColumn(name = "EMPRESA_ID")
|
||||||
private Empresa empresa;
|
private Empresa empresa;
|
||||||
@OneToOne
|
@OneToOne
|
||||||
@JoinColumn(name = "COLONIA_ID")
|
@JoinColumn(name = "COLONIA_ID")
|
||||||
private Colonia colonia;
|
private Colonia colonia;
|
||||||
@OneToOne
|
@OneToOne
|
||||||
@JoinColumn(name = "MONEDA_ID")
|
@JoinColumn(name = "MONEDA_ID")
|
||||||
private Moneda moneda;
|
private Moneda moneda;
|
||||||
@OneToOne
|
@OneToOne
|
||||||
@JoinColumn(name = "PARADA_ID")
|
@JoinColumn(name = "PARADA_ID")
|
||||||
private Parada parada;
|
private Parada parada;
|
||||||
@JoinColumn(name = "TIPOPTOVTA_ID", referencedColumnName = "TIPOPTOVTA_ID")
|
@JoinColumn(name = "TIPOPTOVTA_ID", referencedColumnName = "TIPOPTOVTA_ID")
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
private TipoPuntoVenta tipoPuntoVenta;
|
private TipoPuntoVenta tipoPuntoVenta;
|
||||||
@OneToMany(mappedBy = "puntoVenta")
|
@OneToMany(mappedBy = "puntoVenta")
|
||||||
private List<ReservacionPuntoVenta> reservacionPuntoventaList;
|
private List<ReservacionPuntoVenta> reservacionPuntoventaList;
|
||||||
@OneToOne
|
@OneToOne
|
||||||
@JoinColumn(name = "NODO_ID")
|
@JoinColumn(name = "NODO_ID")
|
||||||
private Nodo nodo;
|
private Nodo nodo;
|
||||||
@Column(name = "INDCONEXIONBANCARIA")
|
@Column(name = "INDCONEXIONBANCARIA")
|
||||||
private String conexionBancaria;
|
private String conexionBancaria;
|
||||||
@Column(name = "DSCUSUARIOINTERNET")
|
@Column(name = "DSCUSUARIOINTERNET")
|
||||||
private String dscUsuarioInternet;
|
private String dscUsuarioInternet;
|
||||||
@Column(name = "DSCCONTRASENAINTERNET")
|
@Column(name = "DSCCONTRASENAINTERNET")
|
||||||
private String dscContrasenaInternet;
|
private String dscContrasenaInternet;
|
||||||
@OneToOne
|
@OneToOne
|
||||||
@JoinColumn(name = "USUARIOBANCARIO_ID")
|
@JoinColumn(name = "USUARIOBANCARIO_ID")
|
||||||
private UsuarioBancario usuarioBancario;
|
private UsuarioBancario usuarioBancario;
|
||||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
||||||
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
||||||
private List<FormaPagoDet> lsFormaPagoDet;
|
private List<FormaPagoDet> lsFormaPagoDet;
|
||||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
||||||
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
||||||
private List<ParamRecoleccion> lsParamRecoleccion;
|
private List<ParamRecoleccion> lsParamRecoleccion;
|
||||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
||||||
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
||||||
private List<PtovtaEmpresa> lsPtovtaEmpresa;
|
private List<PtovtaEmpresa> lsPtovtaEmpresa;
|
||||||
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY)
|
||||||
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
@JoinColumn(name = "PUNTOVENTA_ID", referencedColumnName = "PUNTOVENTA_ID")
|
||||||
private List<PtoVtaUsuarioBancario> lsPtovtaUsuarioBancario;
|
private List<PtoVtaUsuarioBancario> lsPtovtaUsuarioBancario;
|
||||||
|
|
||||||
public PuntoVenta() {
|
public PuntoVenta() {
|
||||||
}
|
}
|
||||||
|
|
||||||
public PuntoVenta(Integer puntoventaId) {
|
public PuntoVenta(Integer puntoventaId) {
|
||||||
this.puntoventaId = puntoventaId;
|
this.puntoventaId = puntoventaId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getPuntoventaId() {
|
public Integer getPuntoventaId() {
|
||||||
return puntoventaId;
|
return puntoventaId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setPuntoventaId(Integer puntoventaId) {
|
public void setPuntoventaId(Integer puntoventaId) {
|
||||||
this.puntoventaId = puntoventaId;
|
this.puntoventaId = puntoventaId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Nodo getNodo() {
|
public Nodo getNodo() {
|
||||||
return nodo;
|
return nodo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNodo(Nodo nodo) {
|
public void setNodo(Nodo nodo) {
|
||||||
this.nodo = nodo;
|
this.nodo = nodo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getNombpuntoventa() {
|
public String getNombpuntoventa() {
|
||||||
return nombpuntoventa;
|
return nombpuntoventa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNombpuntoventa(String nombpuntoventa) {
|
public void setNombpuntoventa(String nombpuntoventa) {
|
||||||
this.nombpuntoventa = nombpuntoventa;
|
this.nombpuntoventa = nombpuntoventa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDireccioncalle() {
|
public String getDireccioncalle() {
|
||||||
return direccioncalle;
|
return direccioncalle;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDireccioncalle(String direccioncalle) {
|
public void setDireccioncalle(String direccioncalle) {
|
||||||
this.direccioncalle = direccioncalle;
|
this.direccioncalle = direccioncalle;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDireccionnumero() {
|
public String getDireccionnumero() {
|
||||||
return direccionnumero;
|
return direccionnumero;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDireccionnumero(String direccionnumero) {
|
public void setDireccionnumero(String direccionnumero) {
|
||||||
this.direccionnumero = direccionnumero;
|
this.direccionnumero = direccionnumero;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getStatusaprobacion() {
|
public String getStatusaprobacion() {
|
||||||
return statusaprobacion;
|
return statusaprobacion;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setStatusaprobacion(String statusaprobacion) {
|
public void setStatusaprobacion(String statusaprobacion) {
|
||||||
this.statusaprobacion = statusaprobacion;
|
this.statusaprobacion = statusaprobacion;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getComentarios() {
|
public String getComentarios() {
|
||||||
return comentarios;
|
return comentarios;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setComentarios(String comentarios) {
|
public void setComentarios(String comentarios) {
|
||||||
this.comentarios = comentarios;
|
this.comentarios = comentarios;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getNumtelefonouno() {
|
public String getNumtelefonouno() {
|
||||||
return numtelefonouno;
|
return numtelefonouno;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNumtelefonouno(String numtelefonouno) {
|
public void setNumtelefonouno(String numtelefonouno) {
|
||||||
this.numtelefonouno = numtelefonouno;
|
this.numtelefonouno = numtelefonouno;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getNumtelefonodos() {
|
public String getNumtelefonodos() {
|
||||||
return numtelefonodos;
|
return numtelefonodos;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNumtelefonodos(String numtelefonodos) {
|
public void setNumtelefonodos(String numtelefonodos) {
|
||||||
this.numtelefonodos = numtelefonodos;
|
this.numtelefonodos = numtelefonodos;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getFecmodif() {
|
public Date getFecmodif() {
|
||||||
return fecmodif;
|
return fecmodif;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setFecmodif(Date fecmodif) {
|
public void setFecmodif(Date fecmodif) {
|
||||||
this.fecmodif = fecmodif;
|
this.fecmodif = fecmodif;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getUsuarioId() {
|
public Integer getUsuarioId() {
|
||||||
return usuarioId;
|
return usuarioId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUsuarioId(Integer usuarioId) {
|
public void setUsuarioId(Integer usuarioId) {
|
||||||
this.usuarioId = usuarioId;
|
this.usuarioId = usuarioId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Boolean getActivo() {
|
public Boolean getActivo() {
|
||||||
return activo;
|
return activo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setActivo(Boolean activo) {
|
public void setActivo(Boolean activo) {
|
||||||
this.activo = activo;
|
this.activo = activo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public TipoPuntoVenta getTipoPuntoVenta() {
|
public TipoPuntoVenta getTipoPuntoVenta() {
|
||||||
return tipoPuntoVenta;
|
return tipoPuntoVenta;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTipoPuntoVenta(TipoPuntoVenta tipoPuntoVenta) {
|
public void setTipoPuntoVenta(TipoPuntoVenta tipoPuntoVenta) {
|
||||||
this.tipoPuntoVenta = tipoPuntoVenta;
|
this.tipoPuntoVenta = tipoPuntoVenta;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Empresa getEmpresa() {
|
public Empresa getEmpresa() {
|
||||||
return empresa;
|
return empresa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setEmpresa(Empresa empresa) {
|
public void setEmpresa(Empresa empresa) {
|
||||||
this.empresa = empresa;
|
this.empresa = empresa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<ReservacionPuntoVenta> getReservacionPuntoventaList() {
|
public List<ReservacionPuntoVenta> getReservacionPuntoventaList() {
|
||||||
return reservacionPuntoventaList;
|
return reservacionPuntoventaList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setReservacionPuntoventaList(List<ReservacionPuntoVenta> reservacionPuntoventaList) {
|
public void setReservacionPuntoventaList(List<ReservacionPuntoVenta> reservacionPuntoventaList) {
|
||||||
this.reservacionPuntoventaList = reservacionPuntoventaList;
|
this.reservacionPuntoventaList = reservacionPuntoventaList;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Moneda getMoneda() {
|
public Moneda getMoneda() {
|
||||||
return moneda;
|
return moneda;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMoneda(Moneda moneda) {
|
public void setMoneda(Moneda moneda) {
|
||||||
this.moneda = moneda;
|
this.moneda = moneda;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<FormaPagoDet> getLsFormaPagoDet() {
|
public List<FormaPagoDet> getLsFormaPagoDet() {
|
||||||
List<FormaPagoDet> tmp = new ArrayList<FormaPagoDet>();
|
List<FormaPagoDet> tmp = new ArrayList<FormaPagoDet>();
|
||||||
if (lsFormaPagoDet != null) {
|
if (lsFormaPagoDet != null) {
|
||||||
for (FormaPagoDet ddab : this.lsFormaPagoDet) {
|
for (FormaPagoDet ddab : this.lsFormaPagoDet) {
|
||||||
if (ddab.getActivo()) {
|
if (ddab.getActivo()) {
|
||||||
tmp.add(ddab);
|
tmp.add(ddab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.lsFormaPagoDet = tmp;
|
this.lsFormaPagoDet = tmp;
|
||||||
|
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<ParamRecoleccion> getLsParamRecoleccion() {
|
public List<ParamRecoleccion> getLsParamRecoleccion() {
|
||||||
List<ParamRecoleccion> tmp = new ArrayList<ParamRecoleccion>();
|
List<ParamRecoleccion> tmp = new ArrayList<ParamRecoleccion>();
|
||||||
if (this.lsParamRecoleccion != null) {
|
if (this.lsParamRecoleccion != null) {
|
||||||
for (ParamRecoleccion ddab : this.lsParamRecoleccion) {
|
for (ParamRecoleccion ddab : this.lsParamRecoleccion) {
|
||||||
if (ddab.getActivo()) {
|
if (ddab.getActivo()) {
|
||||||
tmp.add(ddab);
|
tmp.add(ddab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.lsParamRecoleccion = tmp;
|
this.lsParamRecoleccion = tmp;
|
||||||
|
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<PtovtaEmpresa> getLsPtovtaEmpresa() {
|
public List<PtovtaEmpresa> getLsPtovtaEmpresa() {
|
||||||
List<PtovtaEmpresa> tmp = new ArrayList<PtovtaEmpresa>();
|
List<PtovtaEmpresa> tmp = new ArrayList<PtovtaEmpresa>();
|
||||||
if (this.lsPtovtaEmpresa != null) {
|
if (this.lsPtovtaEmpresa != null) {
|
||||||
for (PtovtaEmpresa ddab : this.lsPtovtaEmpresa) {
|
for (PtovtaEmpresa ddab : this.lsPtovtaEmpresa) {
|
||||||
if (ddab.getActivo()) {
|
if (ddab.getActivo()) {
|
||||||
tmp.add(ddab);
|
tmp.add(ddab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.lsPtovtaEmpresa = tmp;
|
this.lsPtovtaEmpresa = tmp;
|
||||||
|
|
||||||
return tmp;
|
return tmp;
|
||||||
|
|
||||||
// return lsPtovtaEmpresa;
|
// return lsPtovtaEmpresa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLsPtovtaEmpresa(List<PtovtaEmpresa> lsPtovtaEmpresa) {
|
public void setLsPtovtaEmpresa(List<PtovtaEmpresa> lsPtovtaEmpresa) {
|
||||||
this.lsPtovtaEmpresa = lsPtovtaEmpresa;
|
this.lsPtovtaEmpresa = lsPtovtaEmpresa;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<PtoVtaUsuarioBancario> getLsPtovtaUsuarioBancario() {
|
public List<PtoVtaUsuarioBancario> getLsPtovtaUsuarioBancario() {
|
||||||
List<PtoVtaUsuarioBancario> tmp = new ArrayList<PtoVtaUsuarioBancario>();
|
List<PtoVtaUsuarioBancario> tmp = new ArrayList<PtoVtaUsuarioBancario>();
|
||||||
if (this.lsPtovtaUsuarioBancario != null) {
|
if (this.lsPtovtaUsuarioBancario != null) {
|
||||||
for (PtoVtaUsuarioBancario ddab : this.lsPtovtaUsuarioBancario) {
|
for (PtoVtaUsuarioBancario ddab : this.lsPtovtaUsuarioBancario) {
|
||||||
if (ddab.getActivo()) {
|
if (ddab.getActivo()) {
|
||||||
tmp.add(ddab);
|
tmp.add(ddab);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.lsPtovtaUsuarioBancario = tmp;
|
this.lsPtovtaUsuarioBancario = tmp;
|
||||||
|
|
||||||
return tmp;
|
return tmp;
|
||||||
//return lsPtovtaUsuarioBancario;
|
// return lsPtovtaUsuarioBancario;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLsPtovtaUsuarioBancario(List<PtoVtaUsuarioBancario> lsPtovtaUsuarioBancario) {
|
public void setLsPtovtaUsuarioBancario(List<PtoVtaUsuarioBancario> lsPtovtaUsuarioBancario) {
|
||||||
this.lsPtovtaUsuarioBancario = lsPtovtaUsuarioBancario;
|
this.lsPtovtaUsuarioBancario = lsPtovtaUsuarioBancario;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLsParamRecoleccion(List<ParamRecoleccion> lsParamRecoleccion) {
|
public void setLsParamRecoleccion(List<ParamRecoleccion> lsParamRecoleccion) {
|
||||||
this.lsParamRecoleccion = lsParamRecoleccion;
|
this.lsParamRecoleccion = lsParamRecoleccion;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getConexionBancaria() {
|
public String getConexionBancaria() {
|
||||||
return conexionBancaria;
|
return conexionBancaria;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setConexionBancaria(String conexionBancaria) {
|
public void setConexionBancaria(String conexionBancaria) {
|
||||||
this.conexionBancaria = conexionBancaria;
|
this.conexionBancaria = conexionBancaria;
|
||||||
}
|
}
|
||||||
|
|
||||||
public UsuarioBancario getUsuarioBancario() {
|
public UsuarioBancario getUsuarioBancario() {
|
||||||
return usuarioBancario;
|
return usuarioBancario;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setUsuarioBancario(UsuarioBancario usuarioBancario) {
|
public void setUsuarioBancario(UsuarioBancario usuarioBancario) {
|
||||||
this.usuarioBancario = usuarioBancario;
|
this.usuarioBancario = usuarioBancario;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setLsFormaPagoDet(List<FormaPagoDet> lsFormaPagoDet) {
|
public void setLsFormaPagoDet(List<FormaPagoDet> lsFormaPagoDet) {
|
||||||
this.lsFormaPagoDet = lsFormaPagoDet;
|
this.lsFormaPagoDet = lsFormaPagoDet;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 0;
|
int hash = 0;
|
||||||
hash += (puntoventaId != null ? puntoventaId.hashCode() : 0);
|
hash += (puntoventaId != null ? puntoventaId.hashCode() : 0);
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
@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 PuntoVenta)) {
|
||||||
if (!(object instanceof PuntoVenta)) {
|
return false;
|
||||||
return false;
|
}
|
||||||
}
|
PuntoVenta other = (PuntoVenta) object;
|
||||||
PuntoVenta other = (PuntoVenta) object;
|
if ((this.puntoventaId == null && other.puntoventaId != null) || (this.puntoventaId != null && !this.puntoventaId.equals(other.puntoventaId))) {
|
||||||
if ((this.puntoventaId == null && other.puntoventaId != null) || (this.puntoventaId != null && !this.puntoventaId.equals(other.puntoventaId))) {
|
return false;
|
||||||
return false;
|
}
|
||||||
}
|
return true;
|
||||||
return true;
|
}
|
||||||
}
|
|
||||||
|
@Override
|
||||||
@Override
|
public String toString() {
|
||||||
public String toString() {
|
return this.getNombpuntoventa();
|
||||||
return this.getNombpuntoventa();
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* @return the colonia
|
||||||
* @return the colonia
|
*/
|
||||||
*/
|
public Colonia getColonia() {
|
||||||
public Colonia getColonia() {
|
return colonia;
|
||||||
return colonia;
|
}
|
||||||
}
|
|
||||||
|
/**
|
||||||
/**
|
* @param colonia
|
||||||
* @param colonia the colonia to set
|
* the colonia to set
|
||||||
*/
|
*/
|
||||||
public void setColonia(Colonia colonia) {
|
public void setColonia(Colonia colonia) {
|
||||||
this.colonia = colonia;
|
this.colonia = colonia;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Parada getParada() {
|
public Parada getParada() {
|
||||||
return parada;
|
return parada;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setParada(Parada parada) {
|
public void setParada(Parada parada) {
|
||||||
this.parada = parada;
|
this.parada = parada;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDescCorreo() {
|
public String getDescCorreo() {
|
||||||
return descCorreo;
|
return descCorreo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDescCorreo(String descCorreo) {
|
public void setDescCorreo(String descCorreo) {
|
||||||
this.descCorreo = descCorreo;
|
this.descCorreo = descCorreo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDscContrasenaInternet() {
|
public String getDscContrasenaInternet() {
|
||||||
return dscContrasenaInternet;
|
return dscContrasenaInternet;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDscContrasenaInternet(String dscContrasenaInternet) {
|
public void setDscContrasenaInternet(String dscContrasenaInternet) {
|
||||||
this.dscContrasenaInternet = dscContrasenaInternet;
|
this.dscContrasenaInternet = dscContrasenaInternet;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDscUsuarioInternet() {
|
public String getDscUsuarioInternet() {
|
||||||
return dscUsuarioInternet;
|
return dscUsuarioInternet;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setDscUsuarioInternet(String dscUsuarioInternet) {
|
public void setDscUsuarioInternet(String dscUsuarioInternet) {
|
||||||
this.dscUsuarioInternet = dscUsuarioInternet;
|
this.dscUsuarioInternet = dscUsuarioInternet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue