-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PS-40584: Adding ClientCorporationRateAgreementCard and JobCode entit…
…y models. (#446) * PS-40584: Adding ClientCorporationRateAgreementCard and JobCode entity models. * PS-40584: Fixing compilation errors with inheritance * PS-40584: Adding ClientCorporationRateAgreementCard and JobCode to BullhornEntityInfo * PS-40584: Adding test data. Fixes necessary for test passing * PS-40584: Adding delombok plugin to fix javadoc errors * PS-40584: Abstracting RestOneToManySerializer to support any generic argument. Adding that to ClientCorporationRateAgreementCard entities * PS-40584: Removing now unnecessary methods * PS-40584: Removing wrong RestOneToManySerializer usage --------- Co-authored-by: Trevor Swartz <[email protected]>
- Loading branch information
Showing
29 changed files
with
15,270 additions
and
8 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
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
114 changes: 114 additions & 0 deletions
114
src/main/java/com/bullhornsdk/data/model/entity/core/paybill/JobCode.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,114 @@ | ||
package com.bullhornsdk.data.model.entity.core.paybill; | ||
|
||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.standard.BusinessSector; | ||
import com.bullhornsdk.data.model.entity.core.standard.Category; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporationDepartment; | ||
import com.bullhornsdk.data.model.entity.core.type.*; | ||
import com.bullhornsdk.data.model.entity.embedded.OneToMany; | ||
import com.fasterxml.jackson.annotation.JsonFilter; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import org.joda.time.DateTime; | ||
|
||
import java.math.BigDecimal; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class JobCode extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, EditHistoryEntity, DateLastModifiedEntity, SoftDeleteEntity { | ||
Integer id; | ||
OneToMany<BusinessSector> businessSectors; | ||
OneToMany<Category> categories; | ||
DateTime customDate1; | ||
DateTime customDate2; | ||
DateTime customDate3; | ||
BigDecimal customFloat1; | ||
BigDecimal customFloat2; | ||
BigDecimal customFloat3; | ||
Integer customInt1; | ||
Integer customInt2; | ||
Integer customInt3; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText1; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText2; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText3; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText4; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText5; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText6; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText7; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText8; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText9; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText10; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText11; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText12; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText13; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText14; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText15; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText16; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText17; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText18; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText19; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText20; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customTextBlock1; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customTextBlock2; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customTextBlock3; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
OneToMany<CorporationDepartment> corporationDepartments; | ||
String description; | ||
String externalID; | ||
Boolean isDeleted; | ||
CorporateUser owner; | ||
String status; | ||
String title; | ||
} |
94 changes: 94 additions & 0 deletions
94
...m/bullhornsdk/data/model/entity/core/paybill/rate/ClientCorporationRateAgreementCard.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,94 @@ | ||
package com.bullhornsdk.data.model.entity.core.paybill.rate; | ||
|
||
import com.bullhornsdk.data.api.helper.RestOneToManySerializer; | ||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.paybill.JobCode; | ||
import com.bullhornsdk.data.model.entity.core.paybill.Location; | ||
import com.bullhornsdk.data.model.entity.core.paybill.optionslookup.SimplifiedOptionsLookup; | ||
import com.bullhornsdk.data.model.entity.core.standard.Category; | ||
import com.bullhornsdk.data.model.entity.core.standard.ClientCorporation; | ||
import com.bullhornsdk.data.model.entity.core.standard.Specialty; | ||
import com.bullhornsdk.data.model.entity.core.type.*; | ||
import com.bullhornsdk.data.model.entity.embedded.OneToMany; | ||
import com.fasterxml.jackson.annotation.JsonFilter; | ||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import org.joda.time.DateTime; | ||
|
||
import java.math.BigDecimal; | ||
import java.math.BigInteger; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class ClientCorporationRateAgreementCard extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, EditHistoryEntity, DateLastModifiedEntity, | ||
SoftDeleteEntity, EffectiveDateEntity, AssociationEntity { | ||
Integer id; | ||
OneToMany<Category> categories; | ||
ClientCorporation clientCorporation; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<ClientCorporationRateAgreementCardLineGroup> clientCorporationRateAgreementCardLineGroups; | ||
DateTime customDate1; | ||
DateTime customDate2; | ||
DateTime customDate3; | ||
BigDecimal customFloat1; | ||
BigDecimal customFloat2; | ||
BigDecimal customFloat3; | ||
BigInteger customInt1; | ||
BigInteger customInt2; | ||
BigInteger customInt3; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText1; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText2; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText3; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText4; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText5; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText6; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText7; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText8; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText9; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String customText10; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
String effectiveDate; | ||
String effectiveEndDate; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String employmentTypes; | ||
Boolean isDeleted; | ||
OneToMany<JobCode> jobCodes; | ||
OneToMany<Location> locations; | ||
String name; | ||
String rootExternalID; | ||
String rootMigrateGUID; | ||
OneToMany<Specialty> specialties; | ||
@JsonIgnore | ||
@Getter(onMethod_ = {@JsonProperty}) | ||
String states; | ||
SimplifiedOptionsLookup statusLookup; | ||
Integer versionID; | ||
OneToMany<ClientCorporationRateAgreementCardVersion> versions; | ||
} |
Oops, something went wrong.