138 lines
2.8 KiB
Java
138 lines
2.8 KiB
Java
package com.rjconsultores.ventaboletos.entidad;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
import javax.persistence.Basic;
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.JoinColumn;
|
|
import javax.persistence.OneToOne;
|
|
import javax.persistence.SequenceGenerator;
|
|
import javax.persistence.Table;
|
|
|
|
@Entity
|
|
@SequenceGenerator(name = "EMP_NEQUI_CONFIG_SEQ", sequenceName = "EMP_NEQUI_CONFIG_SEQ", allocationSize = 1)
|
|
@Table(name = "EMPRESA_NEQUI_CONFIG")
|
|
public class EmpresaNequiConfig implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
@Id
|
|
@Basic(optional = false)
|
|
@GeneratedValue(strategy = GenerationType.AUTO, generator = "EMP_NEQUI_CONFIG_SEQ")
|
|
@Column(name = "EMPRESANEQUICONFIG_ID")
|
|
private Integer empresaNequiConfigId;
|
|
@OneToOne
|
|
@JoinColumn(name = "EMPRESA_ID")
|
|
private Empresa empresa;
|
|
@Column(name = "CLIENTID_NEQUI")
|
|
private String clienteIdNequi;
|
|
@Column(name = "HASH")
|
|
private String hash;
|
|
@Column(name = "API_KEY_NEQUI")
|
|
private String apiKey;
|
|
@Column(name = "URL")
|
|
private String url;
|
|
@Column(name = "CODE")
|
|
private String code;
|
|
@Column(name = "URL_AUTH")
|
|
private String urlAuth;
|
|
|
|
|
|
private Boolean activo;
|
|
private Date fecmodif;
|
|
@Column(name = "USUARIO_ID")
|
|
private Integer usuarioId;
|
|
|
|
public Integer getEmpresaNequiConfigId() {
|
|
return empresaNequiConfigId;
|
|
}
|
|
|
|
public void setEmpresaNequiConfigId(Integer empresaNequiConfigId) {
|
|
this.empresaNequiConfigId = empresaNequiConfigId;
|
|
}
|
|
|
|
public Empresa getEmpresa() {
|
|
return empresa;
|
|
}
|
|
|
|
public void setEmpresa(Empresa empresa) {
|
|
this.empresa = empresa;
|
|
}
|
|
|
|
public String getClienteIdNequi() {
|
|
return clienteIdNequi;
|
|
}
|
|
|
|
public void setClienteIdNequi(String clienteIdNequi) {
|
|
this.clienteIdNequi = clienteIdNequi;
|
|
}
|
|
|
|
public String getHash() {
|
|
return hash;
|
|
}
|
|
|
|
public void setHash(String hash) {
|
|
this.hash = hash;
|
|
}
|
|
|
|
public String getApiKey() {
|
|
return apiKey;
|
|
}
|
|
|
|
public void setApiKey(String apiKey) {
|
|
this.apiKey = apiKey;
|
|
}
|
|
|
|
public String getUrl() {
|
|
return url;
|
|
}
|
|
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
public String getCode() {
|
|
return code;
|
|
}
|
|
|
|
public void setCode(String code) {
|
|
this.code = code;
|
|
}
|
|
|
|
public Boolean getActivo() {
|
|
return activo;
|
|
}
|
|
|
|
public void setActivo(Boolean activo) {
|
|
this.activo = activo;
|
|
}
|
|
|
|
public Date getFecmodif() {
|
|
return fecmodif;
|
|
}
|
|
|
|
public void setFecmodif(Date fecmodif) {
|
|
this.fecmodif = fecmodif;
|
|
}
|
|
|
|
public Integer getUsuarioId() {
|
|
return usuarioId;
|
|
}
|
|
|
|
public void setUsuarioId(Integer usuarioId) {
|
|
this.usuarioId = usuarioId;
|
|
}
|
|
|
|
public String getUrlAuth() {
|
|
return urlAuth;
|
|
}
|
|
|
|
public void setUrlAuth(String urlAuth) {
|
|
this.urlAuth = urlAuth;
|
|
}
|
|
|
|
} |