-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FSADT1-748] Create general search API (#156)
- Loading branch information
1 parent
49c68d9
commit c40a97d
Showing
11 changed files
with
186 additions
and
20 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
18 changes: 18 additions & 0 deletions
18
src/main/java/ca/bc/gov/api/oracle/legacy/dto/ClientStatusCodeEnum.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,18 @@ | ||
package ca.bc.gov.api.oracle.legacy.dto; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum ClientStatusCodeEnum { | ||
ACT("Active"), | ||
DAC("Deactivated"), | ||
DEC("Deceased"), | ||
REC("Receivership"), | ||
SPN("Suspended"); | ||
|
||
private final String description; | ||
|
||
ClientStatusCodeEnum(String description) { | ||
this.description = description; | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/ca/bc/gov/api/oracle/legacy/dto/ClientTypeCodeEnum.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,25 @@ | ||
package ca.bc.gov.api.oracle.legacy.dto; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public enum ClientTypeCodeEnum { | ||
A("Association"), | ||
B("First Nation Band"), | ||
C("Corporation"), | ||
F("Ministry of Forests and Range"), | ||
G("Government"), | ||
I("Individual"), | ||
L("Limited Partnership"), | ||
P("General Partnership"), | ||
R("First Nation Group"), | ||
S("Society"), | ||
T("First Nation Tribal Council"), | ||
U("Unregistered Company"); | ||
|
||
private final String description; | ||
|
||
ClientTypeCodeEnum(String description) { | ||
this.description = description; | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/main/java/ca/bc/gov/api/oracle/legacy/dto/ClientViewDto.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.api.oracle.legacy.dto; | ||
|
||
import lombok.AccessLevel; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.ToString; | ||
import lombok.With; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
@Data | ||
@Getter(AccessLevel.PROTECTED) | ||
@With | ||
@SuperBuilder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
@EqualsAndHashCode(callSuper = true) | ||
@ToString(callSuper = true) | ||
public class ClientViewDto extends ClientPublicViewDto { | ||
private String clientStatusCodeDescription; | ||
private String clientTypeCodeDescription; | ||
} |
2 changes: 0 additions & 2 deletions
2
src/main/java/ca/bc/gov/api/oracle/legacy/entity/ForestClientBaseEntity.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
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