Guest User

Untitled

a guest
Jan 13th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.70 KB | None | 0 0
  1. package br.ufu.facom.poo.model;
  2.  
  3. public class Empregado extends Pessoa {
  4.     protected double salario;
  5.     protected EmpregadoStatus status;
  6.     protected int cpf;
  7.    
  8.     public Empregado(){
  9.        
  10.     }
  11.    
  12.    
  13.     public Empregado(String name, double salario, EmpregadoStatus status, int cpf) {
  14.        
  15.     }
  16.  
  17.     public void printName(){
  18.        
  19.     }
  20.  
  21.     public double getSalario() {
  22.         return salario;
  23.     }
  24.  
  25.     public void setSalario(double salario) {
  26.         this.salario = salario;
  27.     }
  28.  
  29.     public EmpregadoStatus getStatus() {
  30.         return status;
  31.     }
  32.  
  33.     public void setStatus(EmpregadoStatus status) {
  34.         this.status = status;
  35.     }
  36.  
  37.     public int getCpf() {
  38.         return cpf;
  39.     }
  40.  
  41.     public void setCpf(int cpf) {
  42.         this.cpf = cpf;
  43.     }
  44. }
Add Comment
Please, Sign In to add comment