74 lines
1010 B
Java
74 lines
1010 B
Java
package com.tarisan.data;
|
|
|
|
|
|
import java.sql.Date;
|
|
|
|
public class Tanoticias {
|
|
|
|
private int id_noticia;
|
|
|
|
private String noticia;
|
|
|
|
private Date fecha;
|
|
|
|
private int cabecera;
|
|
|
|
/**
|
|
* @return the id_noticia
|
|
*/
|
|
public int getId_noticia() {
|
|
return id_noticia;
|
|
}
|
|
|
|
/**
|
|
* @param id_noticia the id_noticia to set
|
|
*/
|
|
public void setId_noticia(int id_noticia) {
|
|
this.id_noticia = id_noticia;
|
|
}
|
|
|
|
/**
|
|
* @return the noticia
|
|
*/
|
|
public String getNoticia() {
|
|
return noticia;
|
|
}
|
|
|
|
/**
|
|
* @param noticia the noticia to set
|
|
*/
|
|
public void setNoticia(String noticia) {
|
|
this.noticia = noticia;
|
|
}
|
|
|
|
/**
|
|
* @return the fecha
|
|
*/
|
|
public Date getFecha() {
|
|
return fecha;
|
|
}
|
|
|
|
/**
|
|
* @param fecha the fecha to set
|
|
*/
|
|
public void setFecha(Date fecha) {
|
|
this.fecha = fecha;
|
|
}
|
|
|
|
/**
|
|
* @return the cabecera
|
|
*/
|
|
public int getCabecera() {
|
|
return cabecera;
|
|
}
|
|
|
|
/**
|
|
* @param cabecera the cabecera to set
|
|
*/
|
|
public void setCabecera(int cabecera) {
|
|
this.cabecera = cabecera;
|
|
}
|
|
|
|
|
|
}
|