-
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.
Grad release 1.14.0
- Loading branch information
Showing
8 changed files
with
419 additions
and
21 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
5 changes: 3 additions & 2 deletions
5
api/src/main/java/ca/bc/gov/educ/api/program/model/dto/CareerProgram.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
25 changes: 15 additions & 10 deletions
25
api/src/main/java/ca/bc/gov/educ/api/program/model/entity/CareerProgramEntity.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 |
---|---|---|
@@ -1,29 +1,34 @@ | ||
package ca.bc.gov.educ.api.program.model.entity; | ||
|
||
import java.util.Date; | ||
|
||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.Table; | ||
|
||
import lombok.Data; | ||
|
||
import java.util.Date; | ||
|
||
@Data | ||
@Entity | ||
@Table(name = "TAB_PRGM") | ||
public class CareerProgramEntity { | ||
@Table(name = "CAREER_PROGRAM_CODE") | ||
public class CareerProgramEntity extends BaseEntity { | ||
|
||
@Id | ||
@Column(name = "PRGM_CODE", nullable = false) | ||
@Column(name = "CAREER_PROGRAM_CODE", nullable = false) | ||
private String code; | ||
|
||
@Column(name = "PRGM_NAME", nullable = true) | ||
|
||
@Column(name = "LABEL", nullable = true) | ||
private String name; | ||
|
||
@Column(name = "DESCRIPTION", nullable = true) | ||
private String description; | ||
|
||
@Column(name = "START_DATE", nullable = true) | ||
@Column(name = "DISPLAY_ORDER", nullable = true) | ||
private int displayOrder; | ||
|
||
@Column(name = "EFFECTIVE_DATE", nullable = true) | ||
private Date startDate; | ||
|
||
@Column(name = "END_DATE", nullable = true) | ||
@Column(name = "EXPIRY_DATE", nullable = true) | ||
private Date endDate; | ||
} |
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
2 changes: 2 additions & 0 deletions
2
...rc/main/resources/db/migration/1.0/V1.0.101__DML-UPDATE_DATA-program_requirement_code.sql
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,2 @@ | ||
UPDATE PROGRAM_REQUIREMENT_CODE SET NOT_MET_DESC = 'Work Experience Course issue - see 1950''s 506 Rule', UPDATE_USER = USER, UPDATE_DATE = SYSTIMESTAMP WHERE PROGRAM_REQUIREMENT_CODE = '506'; | ||
|
20 changes: 20 additions & 0 deletions
20
api/src/main/resources/db/migration/1.0/V1.0.102__DDL-CREATE_TABLE-career_program_code.sql
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,20 @@ | ||
-- CAREER_PROGRAM_CODE definition | ||
|
||
CREATE TABLE "CAREER_PROGRAM_CODE" ( | ||
"CAREER_PROGRAM_CODE" VARCHAR2(16), | ||
"LABEL" VARCHAR2(50) NOT NULL ENABLE, | ||
"DESCRIPTION" VARCHAR2(355) NOT NULL ENABLE, | ||
"DISPLAY_ORDER" NUMBER NOT NULL ENABLE, | ||
"EFFECTIVE_DATE" DATE NOT NULL ENABLE, | ||
"EXPIRY_DATE" DATE, | ||
"CREATE_USER" VARCHAR2(32) DEFAULT USER NOT NULL ENABLE, | ||
"CREATE_DATE" DATE DEFAULT SYSTIMESTAMP NOT NULL ENABLE, | ||
"UPDATE_USER" VARCHAR2(32) DEFAULT USER NOT NULL ENABLE, | ||
"UPDATE_DATE" DATE DEFAULT SYSTIMESTAMP NOT NULL ENABLE, | ||
CONSTRAINT "CAREER_PROGRAM_CODE_PK" PRIMARY KEY ("CAREER_PROGRAM_CODE") | ||
USING INDEX TABLESPACE "API_GRAD_IDX" ENABLE | ||
) SEGMENT CREATION IMMEDIATE | ||
NOCOMPRESS LOGGING | ||
TABLESPACE "API_GRAD_DATA" NO INMEMORY ; | ||
|
||
|
Oops, something went wrong.