-
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.
GRAD2-2951: task is complete.
- Loading branch information
Showing
9 changed files
with
83 additions
and
147 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
62 changes: 62 additions & 0 deletions
62
api/src/main/java/ca/bc/gov/educ/api/batchgraduation/model/SchoolClob.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,62 @@ | ||
package ca.bc.gov.educ.api.batchgraduation.model; | ||
|
||
import lombok.Data; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Data | ||
@Component | ||
public class SchoolClob { | ||
|
||
private String minCode; | ||
private String schoolId; | ||
private String schoolName; | ||
private String districtName; | ||
private String transcriptEligibility; | ||
private String certificateEligibility; | ||
private String address1; | ||
private String address2; | ||
private String city; | ||
private String provCode; | ||
private String countryCode; | ||
private String postal; | ||
private String openFlag; | ||
private String schoolCategoryCode; | ||
private String schoolCategoryCodeInstitute; | ||
|
||
public String getSchoolName() { | ||
return schoolName != null ? schoolName.trim(): null; | ||
} | ||
|
||
public String getDistrictName() { | ||
return districtName != null ? districtName.trim(): null; | ||
} | ||
|
||
public String getAddress1() { | ||
return address1 != null ? address1.trim(): null; | ||
} | ||
|
||
public String getAddress2() { | ||
return address2 != null ? address2.trim(): null; | ||
} | ||
|
||
public String getCity() { | ||
return city != null ? city.trim(): null; | ||
} | ||
|
||
public String getPostal() { | ||
return postal != null ? postal.trim(): null; | ||
} | ||
|
||
public String getOpenFlag() { | ||
return openFlag != null ? openFlag.trim(): null; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "School [minCode=" + minCode + ", schoolId=" + schoolId + ", schoolCategoryCode=" + schoolCategoryCode + ", schoolCategoryCodeInstitute=" + schoolCategoryCodeInstitute | ||
+ ", schoolName=" + schoolName + ", districtName=" + districtName + ", transcriptEligibility=" + transcriptEligibility + ", certificateEligibility=" + certificateEligibility | ||
+ ", address1=" + address1 + ", address2=" + address2 + ", city=" + city + ", provCode=" + provCode + ", countryCode=" + countryCode + ", postal=" + postal + ", openFlag=" + openFlag | ||
+ "]"; | ||
} | ||
|
||
} |
114 changes: 0 additions & 114 deletions
114
api/src/main/java/ca/bc/gov/educ/api/batchgraduation/model/TraxSchool.java
This file was deleted.
Oops, something went wrong.
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
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
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