using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Programmation_objet_TLESIO21.TD4 {
    public class Manager : Collaborateur {
        private int SalaireBase;
        private int Prime;

        public Manager(String nom, String birthdate, int salaireBase, int prime) : base(nom, birthdate) {
            this.SalaireBase = salaireBase;
            this.Prime = prime;
        }

        public override double GetSalaire() {
            return this.SalaireBase + this.Prime;
        }




    }
}
