Created
November 19, 2012 12:45
-
-
Save rofr/4110451 to your computer and use it in GitHub Desktop.
LoanApplication data class
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
enum Gender{ | |
Male, | |
Female | |
} | |
enum Carrier { | |
Telenor, | |
Telia | |
} | |
public class LoanApplication { | |
private Gender gender; | |
private int yearlyIncome; | |
private int requestedAmount; | |
private Carrier carrier; | |
private int dayOfWeek; | |
private int timeOfDay; | |
private boolean approved; | |
//setters and getters omitted for brevity... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment