-
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-42243: BTE Time & Labor entities (#455)
- Loading branch information
Showing
43 changed files
with
8,068 additions
and
4 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
33 changes: 33 additions & 0 deletions
33
src/main/java/com/bullhornsdk/data/model/entity/core/bte/Holiday.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,33 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte; | ||
|
||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.bte.rules.TimeLaborEvalRule; | ||
import com.bullhornsdk.data.model.entity.core.paybill.optionslookup.SimplifiedOptionsLookup; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
import com.bullhornsdk.data.model.entity.core.type.*; | ||
import com.bullhornsdk.data.model.entity.embedded.OneToMany; | ||
import com.fasterxml.jackson.annotation.JsonFilter; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class Holiday extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, DateLastModifiedEntity, SoftDeleteEntity, AssociationEntity { | ||
Integer id; | ||
String cronExpression; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
String description; | ||
Integer duration; | ||
SimplifiedOptionsLookup holidayCategoryLookup; | ||
OneToMany<HolidayInstance> holidayInstances; | ||
SimplifiedOptionsLookup holidayStatusLookup; | ||
Boolean isDeleted; | ||
Boolean isRun; | ||
String label; | ||
CorporateUser modifyingUser; | ||
DateTime nextOccurrence; | ||
OneToMany<TimeLaborEvalRule> timeLaborEvalRules; | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/com/bullhornsdk/data/model/entity/core/bte/HolidayInstance.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,22 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte; | ||
|
||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
import com.bullhornsdk.data.model.entity.core.type.*; | ||
import com.fasterxml.jackson.annotation.JsonFilter; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class HolidayInstance extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, DateLastModifiedEntity, AssociationEntity { | ||
Integer id; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
DateTime endAt; | ||
Holiday holiday; | ||
CorporateUser modifyingUser; | ||
DateTime startAt; | ||
} |
31 changes: 31 additions & 0 deletions
31
...n/java/com/bullhornsdk/data/model/entity/core/bte/rules/ClientCorporationBillRuleset.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,31 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte.rules; | ||
|
||
import com.bullhornsdk.data.api.helper.RestOneToManySerializer; | ||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.standard.ClientCorporation; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
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.databind.annotation.JsonSerialize; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class ClientCorporationBillRuleset extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, EditHistoryEntity, DateLastModifiedEntity, EffectiveDateEntity, SoftDeleteEntity, AssociationEntity { | ||
Integer id; | ||
ClientCorporation clientCorporation; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
String effectiveDate; | ||
String effectiveEndDate; | ||
Boolean isDeleted; | ||
CorporateUser owner; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<TimeLaborEvalRule> timeLaborEvalRules; | ||
Integer versionID; | ||
OneToMany<ClientCorporationBillRulesetVersion> versions; | ||
} |
27 changes: 27 additions & 0 deletions
27
...com/bullhornsdk/data/model/entity/core/bte/rules/ClientCorporationBillRulesetVersion.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,27 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte.rules; | ||
|
||
import com.bullhornsdk.data.api.helper.RestOneToManySerializer; | ||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.standard.ClientCorporation; | ||
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.databind.annotation.JsonSerialize; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class ClientCorporationBillRulesetVersion extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, DateLastModifiedEntity, EffectiveDateEntity, AssociationEntity { | ||
Integer id; | ||
ClientCorporation clientCorporation; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
String effectiveDate; | ||
String effectiveEndDate; | ||
Boolean isFirst; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<TimeLaborEvalRule> timeLaborEvalRules; | ||
} |
31 changes: 31 additions & 0 deletions
31
...in/java/com/bullhornsdk/data/model/entity/core/bte/rules/ClientCorporationPayRuleset.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,31 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte.rules; | ||
|
||
import com.bullhornsdk.data.api.helper.RestOneToManySerializer; | ||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.standard.ClientCorporation; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
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.databind.annotation.JsonSerialize; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class ClientCorporationPayRuleset extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, EditHistoryEntity, DateLastModifiedEntity, EffectiveDateEntity, SoftDeleteEntity, AssociationEntity { | ||
Integer id; | ||
ClientCorporation clientCorporation; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
String effectiveDate; | ||
String effectiveEndDate; | ||
Boolean isDeleted; | ||
CorporateUser owner; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<TimeLaborEvalRule> timeLaborEvalRules; | ||
Integer versionID; | ||
OneToMany<ClientCorporationPayRulesetVersion> versions; | ||
} |
27 changes: 27 additions & 0 deletions
27
.../com/bullhornsdk/data/model/entity/core/bte/rules/ClientCorporationPayRulesetVersion.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,27 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte.rules; | ||
|
||
import com.bullhornsdk.data.api.helper.RestOneToManySerializer; | ||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.standard.ClientCorporation; | ||
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.databind.annotation.JsonSerialize; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class ClientCorporationPayRulesetVersion extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, DateLastModifiedEntity, EffectiveDateEntity, AssociationEntity { | ||
Integer id; | ||
ClientCorporation clientCorporation; | ||
DateTime dateAdded; | ||
DateTime dateLastModified; | ||
String effectiveDate; | ||
String effectiveEndDate; | ||
Boolean isFirst; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<TimeLaborEvalRule> timeLaborEvalRules; | ||
} |
43 changes: 43 additions & 0 deletions
43
src/main/java/com/bullhornsdk/data/model/entity/core/bte/rules/TimeLaborEvalRule.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,43 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte.rules; | ||
|
||
import com.bullhornsdk.data.api.helper.RestOneToManySerializer; | ||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.bte.Holiday; | ||
import com.bullhornsdk.data.model.entity.core.paybill.optionslookup.SimplifiedOptionsLookup; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
import com.bullhornsdk.data.model.entity.core.standard.State; | ||
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.databind.annotation.JsonSerialize; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
import java.util.Map; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class TimeLaborEvalRule extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, AssociationEntity { | ||
Integer id; | ||
DateTime addedAtUtc; | ||
CorporateUser addedByUser; | ||
String description; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<Holiday> holidays; | ||
Boolean isRun; | ||
DateTime lastModifiedAtUtc; | ||
CorporateUser modifyingUser; | ||
String name; | ||
Map<String, Object> parameters; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<State> states; | ||
SimplifiedOptionsLookup timeLaborCalcTypeLookup; | ||
SimplifiedOptionsLookup timeLaborEvalRuleCategoryLookup; | ||
SimplifiedOptionsLookup timeLaborEvalRuleCombineCriteriaLookup; | ||
SimplifiedOptionsLookup timeLaborEvalRuleStatusLookup; | ||
OneToMany<TimeLaborEvalRuleTemplate> timeLaborEvalRuleTemplates; | ||
SimplifiedOptionsLookup timeLaborEvalRuleTypeLookup; | ||
|
||
} |
31 changes: 31 additions & 0 deletions
31
...main/java/com/bullhornsdk/data/model/entity/core/bte/rules/TimeLaborEvalRuleTemplate.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,31 @@ | ||
package com.bullhornsdk.data.model.entity.core.bte.rules; | ||
|
||
import com.bullhornsdk.data.api.helper.RestOneToManySerializer; | ||
import com.bullhornsdk.data.api.helper.json.DynamicNullValueFilter; | ||
import com.bullhornsdk.data.model.entity.core.paybill.optionslookup.SimplifiedOptionsLookup; | ||
import com.bullhornsdk.data.model.entity.core.standard.CorporateUser; | ||
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.databind.annotation.JsonSerialize; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import org.joda.time.DateTime; | ||
|
||
@Data | ||
@JsonFilter(DynamicNullValueFilter.FILTER_NAME) | ||
@EqualsAndHashCode(callSuper = false) | ||
public class TimeLaborEvalRuleTemplate extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, EditHistoryEntity, AssociationEntity { | ||
Integer id; | ||
DateTime addedAtUtc; | ||
CorporateUser addedByUser; | ||
String description; | ||
Boolean isDefault; | ||
DateTime lastModifiedAtUtc; | ||
CorporateUser modifyingUser; | ||
String name; | ||
@JsonSerialize(using = RestOneToManySerializer.class) | ||
OneToMany<TimeLaborEvalRule> timeLaborEvalRules; | ||
OneToMany<SimplifiedOptionsLookup> timeLaborEvalRulesCalcTypes; | ||
OneToMany<SimplifiedOptionsLookup> timeLaborEvalRulesCategories; | ||
} |
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
11 changes: 11 additions & 0 deletions
11
...ava/com/bullhornsdk/data/model/response/list/ClientCorporationBillRulesetListWrapper.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,11 @@ | ||
package com.bullhornsdk.data.model.response.list; | ||
|
||
import com.bullhornsdk.data.model.entity.core.bte.rules.ClientCorporationBillRuleset; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({"data", "count", "start"}) | ||
public class ClientCorporationBillRulesetListWrapper extends StandardListWrapper<ClientCorporationBillRuleset> { | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
.../bullhornsdk/data/model/response/list/ClientCorporationBillRulesetVersionListWrapper.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,11 @@ | ||
package com.bullhornsdk.data.model.response.list; | ||
|
||
import com.bullhornsdk.data.model.entity.core.bte.rules.ClientCorporationBillRulesetVersion; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({"data", "count", "start"}) | ||
public class ClientCorporationBillRulesetVersionListWrapper extends StandardListWrapper<ClientCorporationBillRulesetVersion> { | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
...java/com/bullhornsdk/data/model/response/list/ClientCorporationPayRulesetListWrapper.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,11 @@ | ||
package com.bullhornsdk.data.model.response.list; | ||
|
||
import com.bullhornsdk.data.model.entity.core.bte.rules.ClientCorporationPayRuleset; | ||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
|
||
@JsonInclude(JsonInclude.Include.NON_NULL) | ||
@JsonPropertyOrder({"data", "count", "start"}) | ||
public class ClientCorporationPayRulesetListWrapper extends StandardListWrapper<ClientCorporationPayRuleset> { | ||
|
||
} |
Oops, something went wrong.