-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #232 from bcgov/feature/schoolNumGen
Change for school number generation
- Loading branch information
Showing
6 changed files
with
107 additions
and
77 deletions.
There are no files selected for viewing
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
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
29 changes: 29 additions & 0 deletions
29
api/src/main/java/ca/bc/gov/educ/api/institute/constants/v1/FacilityTypeCodes.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package ca.bc.gov.educ.api.institute.constants.v1; | ||
|
||
import lombok.Getter; | ||
|
||
/** | ||
* The enum for school's facility type codes | ||
*/ | ||
@Getter | ||
public enum FacilityTypeCodes { | ||
PROVINCIAL("PROVINCIAL"), | ||
DIST_CONT("DIST_CONT"), | ||
ELEC_DELIV("ELEC_DELIV"), | ||
STANDARD("STANDARD"), | ||
CONT_ED("CONT_ED"), | ||
DIST_LEARN("DIST_LEARN"), | ||
ALT_PROGS("ALT_PROGS"), | ||
STRONG_CEN("STRONG_CEN"), | ||
STRONG_OUT("STRONG_OUT"), | ||
SHORT_PRP("SHORT_PRP"), | ||
LONG_PRP("LONG_PRP"), | ||
SUMMER("SUMMER"), | ||
YOUTH("YOUTH"), | ||
DISTONLINE("DISTONLINE"), | ||
POST_SEC("POST_SEC"), | ||
JUSTB4PRO("JUSTB4PRO"); | ||
|
||
private final String code; | ||
FacilityTypeCodes(String code) { this.code = code; } | ||
} |
24 changes: 24 additions & 0 deletions
24
api/src/main/java/ca/bc/gov/educ/api/institute/constants/v1/SchoolCategoryCodes.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package ca.bc.gov.educ.api.institute.constants.v1; | ||
|
||
import lombok.Getter; | ||
|
||
/** | ||
* The enum for school category codes | ||
*/ | ||
@Getter | ||
public enum SchoolCategoryCodes { | ||
IMM_DATA("IMM_DATA"), | ||
CHILD_CARE("CHILD_CARE"), | ||
MISC("MISC"), | ||
PUBLIC("PUBLIC"), | ||
INDEPEND("INDEPEND"), | ||
FED_BAND("FED_BAND"), | ||
OFFSHORE("OFFSHORE"), | ||
EAR_LEARN("EAR_LEARN"), | ||
YUKON("YUKON"), | ||
POST_SEC("POST_SEC"), | ||
INDP_FNS("INDP_FNS"); | ||
|
||
private final String code; | ||
SchoolCategoryCodes(String code) { this.code = code; } | ||
} |
Oops, something went wrong.