blob: e31d1510da7fc8ecf7d157fa1dc4886e0ec5aefa (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 | /* 
 * File:   Medicamento.h
 * Author: mitsuo
 *
 * Created on 27 November 2022, 11:49
 */
#ifndef MEDICAMENTO_H
#define MEDICAMENTO_H
class Medicamento {
public:
    Medicamento();
    Medicamento(const Medicamento& orig);
    virtual ~Medicamento();
    void SetCantidad(int cantidad);
    int GetCantidad() const;
    void SetNombre(const char* nombre);
    char* GetNombre() const;
    void SetCodigo(int codigo);
    int GetCodigo() const;
    
private:
    int codigo;
    char *nombre;
    int cantidad;
    double precio;
    int fecha;
};
#endif /* MEDICAMENTO_H */
 |