package m05bBD;

/**
 * Date: Apr 22, 2004
 * Time: 8:58:18 AM
 * The table <tt>m0535t00_revision</tt> is defined in the database as follows:
 * <pre>
CREATE TABLE M0535T00 (
  COD_REVI_35       VARCHAR2 (20) NOT NULL,
  MATRIC_35		    VARCHAR2 (20) NOT NULL,
  ORDEN_35      	VARCHAR2 (20),
  IMPORTE_35     	VARCHAR2 (20),
  FREVISI_35       	DATE,
  FPREVIS_35        DATE,
  REALIZA_35        VARCHAR2 (1),
  DESCRIP_35      	VARCHAR2 (255),
  KMPREVIS_35      	NUMBER         ,
  KMREVIS_35      	NUMBER         ,
  PRIMARY KEY ( COD_REVI_35));
 * </pre>
 * This class follows the convention of a JavaBean.
 *
 */
public class m05bRevision implements java.io.Serializable{

    private String revi_cod = "";
    private String revi_matricula = "";
    private String revi_orden ="";
    private String revi_importe="";
    private String revi_fecha = null;
    private String revi_fecprox = null;
    private String revi_realiza="";
    private String revi_descrip="";
    private String revi_kmpre="";
    private String revi_kmre="";


    public String getRevi_cod () {return revi_cod;}
    public void setRevi_cod (String n) {revi_cod = n;}

    public String getRevi_matricula(){return revi_matricula;}
    public void setRevi_matricula(String n){revi_matricula = n;}

    public String getRevi_orden(){return revi_orden;}
    public void setRevi_orden (String n){revi_orden = n;}

    public String getRevi_importe () {return revi_importe;}
    public void setRevi_importe (String n) {revi_importe= n;}

    public String getRevi_fecha () {return revi_fecha;}
    public void setRevi_fecha (String n) {revi_fecha=n;}

    public String getRevi_fecprox () {return revi_fecprox;}
    public void  setRevi_fecprox (String n) {revi_fecprox=n;}

    public String getRevi_realiza () {return revi_realiza;}
    public void setRevi_realiza (String n) {revi_realiza=n;}

    public String getRevi_descrip () {return revi_descrip;}
    public void setRevi_descrip (String n){revi_descrip=n;}

    public String getRevi_kmpre () {return revi_kmpre;}
    public void setRevi_kmpre (String n) {revi_kmpre=n;}

    public String getRevi_kmre () {return revi_kmre;}
    public void setRevi_kmre (String n) {revi_kmre=n;}

    public String toString(){
    String s = "";
    s += "[Codigo = " + revi_cod + "]";
    s += "[Matricula = " + revi_matricula + "]";
    s += "[Orden = " + revi_orden + "]";
    s += "[Importe = " + revi_importe + "]";
    s += "[Fecha = " + revi_fecha + "]";
    s += "[Fecha Próxima = " + revi_fecprox + "]";
    s += "[Descripcion = " + revi_descrip + "]";
    s += "[Realizada = " + revi_realiza + "]";
    s += "[Km Prox Revision = " + revi_kmpre + "]";
    s += "[Km Revision = " + revi_kmre + "]";
    return s;
  }

}
