Skip to content

Commit

Permalink
test: add new datatypes to example excel class
Browse files Browse the repository at this point in the history
  • Loading branch information
r4tylmz committed Nov 14, 2024
1 parent 7944c26 commit 506847c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package io.github.r4tylmz.betterpoi.test;

import java.util.Date;
import java.math.BigDecimal;
import java.time.LocalDate;

public class EmployeeRecord {
private String employeeId;
private String employeeName;
private Double salary;
private BigDecimal salary;
private String department;
private Integer yearsOfService;
private Date hireDate;
private LocalDate hireDate;

public String getDepartment() {
return department;
Expand All @@ -34,19 +35,19 @@ public void setEmployeeName(String employeeName) {
this.employeeName = employeeName;
}

public Date getHireDate() {
public LocalDate getHireDate() {
return hireDate;
}

public void setHireDate(Date hireDate) {
public void setHireDate(LocalDate hireDate) {
this.hireDate = hireDate;
}

public Double getSalary() {
public BigDecimal getSalary() {
return salary;
}

public void setSalary(Double salary) {
public void setSalary(BigDecimal salary) {
this.salary = salary;
}

Expand Down
Binary file modified src/test/resources/Fake_Employee_Data_Error.xlsx
Binary file not shown.

0 comments on commit 506847c

Please sign in to comment.