186 lines
3.1 KiB
Java
186 lines
3.1 KiB
Java
package com.tarisan.data;
|
|
|
|
|
|
import java.sql.Date;
|
|
import java.util.Calendar;
|
|
|
|
public class VTtbancosTamedico {
|
|
|
|
/**
|
|
* Nif del médico/banco.
|
|
*/
|
|
private String nif;
|
|
|
|
/**
|
|
* Nombre del médico.
|
|
*/
|
|
private String nombre;
|
|
|
|
/**
|
|
* Apellidos del médico.
|
|
*/
|
|
private String apellidos;
|
|
|
|
/**
|
|
* direccion del médico.
|
|
*/
|
|
private String direccion;
|
|
|
|
/**
|
|
* cp del médico.
|
|
*/
|
|
private String cp;
|
|
|
|
/**
|
|
* poblacion del médico.
|
|
*/
|
|
private String poblacion;
|
|
|
|
/**
|
|
* descripcion del banco.
|
|
*/
|
|
private String descripcion;
|
|
|
|
/**
|
|
* iban_sucursal del banco.
|
|
*/
|
|
private int iban_sucursal;
|
|
|
|
/**
|
|
* iban_cuenta del banco.
|
|
*/
|
|
private String iban_cuenta;
|
|
|
|
/**
|
|
* mes.
|
|
*/
|
|
private String mes;
|
|
|
|
/**
|
|
* fecha_factura del medico.
|
|
*/
|
|
private Date fecha_factura;
|
|
|
|
/**
|
|
* factura del medico.
|
|
*/
|
|
private int factura;
|
|
|
|
/**
|
|
* cla del medico.
|
|
*/
|
|
private String cla;
|
|
|
|
|
|
public String getNif() {
|
|
return nif;
|
|
}
|
|
public void setNif(String nif) {
|
|
this.nif = nif;
|
|
}
|
|
public String getNombre() {
|
|
return nombre;
|
|
}
|
|
public void setNombre(String nombre) {
|
|
this.nombre = nombre;
|
|
}
|
|
public String getApellidos() {
|
|
return apellidos;
|
|
}
|
|
public void setApellidos(String apellidos) {
|
|
this.apellidos = apellidos;
|
|
}
|
|
public String getDireccion() {
|
|
return direccion;
|
|
}
|
|
public void setDireccion(String direccion) {
|
|
this.direccion = direccion;
|
|
}
|
|
public String getCp() {
|
|
return cp;
|
|
}
|
|
public void setCp(String cp) {
|
|
this.cp = cp;
|
|
}
|
|
public String getPoblacion() {
|
|
return poblacion;
|
|
}
|
|
public void setPoblacion(String poblacion) {
|
|
this.poblacion = poblacion;
|
|
}
|
|
public String getDescripcion() {
|
|
return descripcion;
|
|
}
|
|
public void setDescripcion(String descripcion) {
|
|
this.descripcion = descripcion;
|
|
}
|
|
public int getIban_sucursal() {
|
|
return iban_sucursal;
|
|
}
|
|
public void setIban_sucursal(int iban_sucursal) {
|
|
this.iban_sucursal = iban_sucursal;
|
|
}
|
|
public String getIban_cuenta() {
|
|
return iban_cuenta;
|
|
}
|
|
public void setIban_cuenta(String iban_cuenta) {
|
|
this.iban_cuenta = iban_cuenta;
|
|
}
|
|
/**
|
|
* @return the mes
|
|
*/
|
|
public String getMes() {
|
|
return mes;
|
|
}
|
|
/**
|
|
* @param mes the mes to set
|
|
*/
|
|
public void setMes(String mes) {
|
|
this.mes = mes;
|
|
}
|
|
/**
|
|
* @return the fecha_factura
|
|
*/
|
|
public Date getFecha_factura() {
|
|
Calendar nuevo = Calendar.getInstance();
|
|
nuevo.set(1900, 1, 1);
|
|
Date esNula = new Date(nuevo.getTimeInMillis());
|
|
return (this.fecha_factura == null)?esNula:this.fecha_factura;
|
|
}
|
|
/**
|
|
* @param fecha_factura the fecha_factura to set
|
|
*/
|
|
public void setFecha_factura(Date fecha_factura) {
|
|
Calendar nuevo = Calendar.getInstance();
|
|
nuevo.set(1900, 1, 1);
|
|
Date esNula = new Date(nuevo.getTimeInMillis());
|
|
this.fecha_factura = (fecha_factura == null)?esNula:fecha_factura;
|
|
}
|
|
/**
|
|
* @return the factura
|
|
*/
|
|
public int getFactura() {
|
|
return factura;
|
|
}
|
|
/**
|
|
* @param factura the factura to set
|
|
*/
|
|
public void setFactura(int factura) {
|
|
this.factura = factura;
|
|
}
|
|
/**
|
|
* @return the cla
|
|
*/
|
|
public String getCla() {
|
|
return cla;
|
|
}
|
|
/**
|
|
* @param cla the cla to set
|
|
*/
|
|
public void setCla(String cla) {
|
|
this.cla = cla;
|
|
}
|
|
|
|
|
|
}
|