Created
October 13, 2015 05:40
-
-
Save rlbisbe/fba4ca0128454740dcc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Intern (salary_param: Int, desk_param: String, startDate_param: Int) extends Employee with InOffice with Temporary { | |
val salary = salary_param | |
val desk = desk_param | |
val stay = 6 | |
val startDate = startDate_param | |
} | |
class Developer (salary_param: Int, desk_param: String) extends Employee with InOffice { | |
val salary = salary_param | |
val desk = desk_param | |
} | |
class Manager (salary_param: Int, location_param: String, reports: Array[Employee]) extends Employee with Remote with Authority { | |
val salary = salary_param | |
val location = location_param | |
val directReports = reports | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment