145 lines
2.3 KiB
Java
145 lines
2.3 KiB
Java
package com.tarisan.data;
|
|
|
|
|
|
import java.sql.Date;
|
|
import java.util.Calendar;
|
|
|
|
public class Taliquimedi {
|
|
|
|
private int medico;
|
|
|
|
private int medico_origen;
|
|
|
|
private String mes;
|
|
|
|
private String anio;
|
|
|
|
private Date fecha_factura;
|
|
|
|
private int factura;
|
|
|
|
private int especialidad;
|
|
|
|
private String desc_esp;
|
|
|
|
private int acto;
|
|
|
|
private String descripcion;
|
|
|
|
private double precio;
|
|
|
|
private int cantidad;
|
|
|
|
private Double importe;
|
|
|
|
public int getMedico() {
|
|
return medico;
|
|
}
|
|
|
|
public void setMedico(int medico) {
|
|
this.medico = medico;
|
|
}
|
|
|
|
public int getMedico_origen() {
|
|
return medico_origen;
|
|
}
|
|
|
|
public void setMedico_origen(int medico_origen) {
|
|
this.medico_origen = medico_origen;
|
|
}
|
|
|
|
public String getMes() {
|
|
return mes;
|
|
}
|
|
|
|
public void setMes(String mes) {
|
|
this.mes = mes;
|
|
}
|
|
|
|
public String getAnio() {
|
|
return anio;
|
|
}
|
|
|
|
public void setAnio(String anio) {
|
|
this.anio = anio;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
public int getFactura() {
|
|
return factura;
|
|
}
|
|
|
|
public void setFactura(int factura) {
|
|
this.factura = factura;
|
|
}
|
|
|
|
public int getEspecialidad() {
|
|
return especialidad;
|
|
}
|
|
|
|
public void setEspecialidad(int especialidad) {
|
|
this.especialidad = especialidad;
|
|
}
|
|
|
|
public String getDesc_esp() {
|
|
return desc_esp;
|
|
}
|
|
|
|
public void setDesc_esp(String desc_esp) {
|
|
this.desc_esp = desc_esp;
|
|
}
|
|
|
|
public int getActo() {
|
|
return acto;
|
|
}
|
|
|
|
public void setActo(int acto) {
|
|
this.acto = acto;
|
|
}
|
|
|
|
public String getDescripcion() {
|
|
return descripcion;
|
|
}
|
|
|
|
public void setDescripcion(String descripcion) {
|
|
this.descripcion = descripcion;
|
|
}
|
|
|
|
public double getPrecio() {
|
|
return precio;
|
|
}
|
|
|
|
public void setPrecio(double precio) {
|
|
this.precio = precio;
|
|
}
|
|
|
|
public int getCantidad() {
|
|
return cantidad;
|
|
}
|
|
|
|
public void setCantidad(int cantidad) {
|
|
this.cantidad = cantidad;
|
|
}
|
|
|
|
public Double getImporte() {
|
|
return importe;
|
|
}
|
|
|
|
public void setImporte(Double importe) {
|
|
this.importe = importe;
|
|
}
|
|
}
|