Skip to content

Commit

Permalink
PS-42597: Add PlacementTimeAndExpense.timeAndLaborEnabledDate (#459)
Browse files Browse the repository at this point in the history
* PS-42597: Add PlacementTimeAndExpense.timeAndLaborEnabledDate

* PS-42597: Add JsonProperty to PlacementTimeAndExpense.timeAndLaborEnabledDate

* PS-42597: Add PlacementTimeAndExpense.timeAndLaborEnabledDate to JsonPropertyOrder
  • Loading branch information
scriptom authored Mar 18, 2024
1 parent b350d7f commit ebca707
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonRootName;
import lombok.Getter;
import lombok.Setter;
import org.joda.time.DateTime;

import javax.validation.constraints.Size;
import java.math.BigDecimal;
import java.util.Objects;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonRootName(value = "data")
@JsonPropertyOrder({ "id", "alternateWorkSchedule", "approvalMethod", "backupExpenseApproverEmail", "backupExpenseApproverFName", "backupExpenseApproverLName", "backupNoBillExpenseApproverEmail", "backupNoBillExpenseApproverFirstName", "backupNoBillExpenseApproverLastName", "branding", "clientDepartmentCode", "clockMapping", "departmentAbbr", "departmentMapping", "departmentName", "dtBillingFactor", "employeeBadge", "employeeCPAFlag", "employeeOtType", "expenseApproverEmail", "expenseApproverFName", "expenseApproverLName", "expenseIndicator", "inOutIndicator", "noBillExpenseApproverEmail", "noBillExpenseApproverFirstName", "noBillExpenseApproverLastName", "payRules", "proxyCPAFlag", "rounding", "timeAndExpenseBranch", "timeAndExpenseSource", "vmsAssignmentNumber", "vmsCostCenter", "vmsEmployeeID", "vmsRequisitionID" })
@JsonPropertyOrder({ "id", "alternateWorkSchedule", "approvalMethod", "backupExpenseApproverEmail", "backupExpenseApproverFName", "backupExpenseApproverLName", "backupNoBillExpenseApproverEmail", "backupNoBillExpenseApproverFirstName", "backupNoBillExpenseApproverLastName", "branding", "clientDepartmentCode", "clockMapping", "departmentAbbr", "departmentMapping", "departmentName", "dtBillingFactor", "employeeBadge", "employeeCPAFlag", "employeeOtType", "expenseApproverEmail", "expenseApproverFName", "expenseApproverLName", "expenseIndicator", "inOutIndicator", "noBillExpenseApproverEmail", "noBillExpenseApproverFirstName", "noBillExpenseApproverLastName", "payRules", "proxyCPAFlag", "rounding", "timeAndExpenseBranch", "timeAndExpenseSource", "vmsAssignmentNumber", "vmsCostCenter", "vmsEmployeeID", "vmsRequisitionID", "timeAndLaborEnabledDate" })
public class PlacementTimeAndExpense extends AbstractEntity implements QueryEntity, UpdateEntity, CreateEntity, EditHistoryEntity {

private Integer id;
Expand Down Expand Up @@ -119,6 +122,11 @@ public class PlacementTimeAndExpense extends AbstractEntity implements QueryEnti
@Size(max = 32)
private String vmsRequisitionID;

@Getter
@Setter
@JsonProperty("timeAndLaborEnabledDate")
private DateTime timeAndLaborEnabledDate;

@Override
@JsonProperty("id")
public Integer getId() {
Expand Down

0 comments on commit ebca707

Please sign in to comment.