package m05bBD;

/**
 * The table <tt>m0523T00_PiezasRepa</tt> is defined in the database as follows:
 * <pre>
CREATE TABLE M0523T00 (

  COD_ORD_23,       
  COD_REP_23,	    
  DESCRIP_23,     	
  TOTAL_23,       	
  COD_PIE_23,
  CANTID_23,
  EMPL_23,
  PRECIO_U_23,
  COD_REP2_23 ,
  PRIMARY KEY ( COD_PIE_23,COD_ORD_23,COD_REP_23));
 * </pre>
 * This class follows the convention of a JavaBean.
 *
 */

public class m05bPiezasRepa implements java.io.Serializable{


    private String pir_codigo="";
    private String pir_pieza = "";
    private String pir_orden ="";
    private String pir_cantidad="";
    private String pir_empleado ="";
    private String pir_preciou ="";
    private String pir_descrip ="";
    private String pir_codrep="";
    private String pir_total="";

    public String getPir_codigo(){return pir_codigo;}
    public void setPir_codigo(String n){pir_codigo = n;}

    public String getPir_pieza(){return pir_pieza;}
    public void setPir_pieza(String n) {pir_pieza=n;}

    public String getPir_orden(){return pir_orden;}
    public void setPir_orden (String n){pir_orden = n;}

    public String getPir_cantidad () {return pir_cantidad;}
    public void setPir_cantidad (String n) {pir_cantidad = n;}

    public String getPir_empleado () {return pir_empleado;}
    public void setPir_empleado (String n) {pir_empleado=n;}

    public String getPir_preciou () {return pir_preciou;}
    public void  setPir_preciou (String n) {pir_preciou=n;}

    public String getPir_descrip () {return pir_descrip;}
    public void setPir_descrip (String n) {pir_descrip=n;}


    public String getPir_codrep () {return pir_codrep;}
    public void setPir_codrep (String n) {pir_codrep=n;}

    public String getPir_total () {return pir_total;}
    public void setPir_total (String n) {pir_total=n;}

    public String toString(){
    String s = "";
    s += "[Codigo = "+pir_codigo+"]";
    s += "[Total = " + pir_total + "]";
    s += "[Pieza = " + pir_pieza + "]";
    s += "[Orden = " + pir_orden + "]";
    s += "[Cantidad = " + pir_cantidad + "]";
    s += "[Descripcion = " + pir_descrip + "]";
    s += "[Precio = " + pir_preciou + "]";
    s += "[Cod2 = " + pir_codrep + "]";
    s += "[Empleado = " + pir_empleado + "]";
    return s;
  }

}
