Created
February 6, 2014 18:09
-
-
Save ppat/8849468 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
implicit def createRecommenderInput(job: Job) = new { | |
def toInput: Input = { | |
val input = new Input ( | |
title = job.title, | |
disciplines = Set.empty, // TODO get job.disciplines | |
industries = Set.empty, // TODO get job.industries | |
positionLevel = 24, // TODO get job.positionLevel | |
salaryMin = -1, // TODO get job.salaryMin | |
salaryMax = -1 // TODO get job.salaryMax | |
) | |
info(s"Transformed ${job} to ${input}") | |
input | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment