YAMILDIAZ

VENDEDOR.H

May 23rd, 2024 (edited)
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.61 KB | Source Code | 0 0
  1. #pragma once
  2.  
  3. #include "Persona.h"
  4.  
  5. class Vendedor:public Persona{
  6.     private:
  7.         int _nroLegajo;
  8.         Fecha _fechaIngreso;
  9.         int _antiguedad;
  10.         bool _eliminado;
  11.     public:
  12.         Vendedor();
  13.         Vendedor(int nroLegajo, Fecha fechaIngreso, int antiguedad, bool eliminado);
  14.  
  15.         int getNroLegajo();
  16.         Fecha getFechaIngreso();
  17.         int getAntiguedad();
  18.         bool getEliminado();
  19.  
  20.         void setNroLegajo(int nroLegajo);
  21.         void setFechaIngreso(Fecha fechaIngreso);
  22.         void setAntiguedad(int antiguedad);
  23.         void setEliminado(bool eliminado);
  24. };
  25.  
Advertisement
Add Comment
Please, Sign In to add comment