/
HistoricalEsocialCategory.java
189 lines (156 loc) · 4.75 KB
/
HistoricalEsocialCategory.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/*
* Folha de Pagamento
* HCM - Folha de pagamento
*
*
* Contact: seniorx-dev@senior.com.br
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package br.com.senior.hcm.payroll.pojos;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import br.com.senior.hcm.payroll.pojos.ESocialCategory;
import br.com.senior.hcm.payroll.pojos.Employee;
import java.io.IOException;
import org.threeten.bp.LocalDate;
/**
* HistoricalEsocialCategory
*/
public class HistoricalEsocialCategory {
@SerializedName("dateWhen")
private LocalDate dateWhen = null;
@SerializedName("endDate")
private LocalDate endDate = null;
@SerializedName("id")
private String id = null;
@SerializedName("employee")
private Employee employee = null;
@SerializedName("eSocialCategoryType")
private ESocialCategory eSocialCategoryType = null;
public HistoricalEsocialCategory dateWhen(LocalDate dateWhen) {
this.dateWhen = dateWhen;
return this;
}
/**
* Data do histórico
* @return dateWhen
**/
@ApiModelProperty(required = true, value = "Data do histórico")
public LocalDate getDateWhen() {
return dateWhen;
}
public void setDateWhen(LocalDate dateWhen) {
this.dateWhen = dateWhen;
}
public HistoricalEsocialCategory endDate(LocalDate endDate) {
this.endDate = endDate;
return this;
}
/**
* Data de término
* @return endDate
**/
@ApiModelProperty(value = "Data de término")
public LocalDate getEndDate() {
return endDate;
}
public void setEndDate(LocalDate endDate) {
this.endDate = endDate;
}
public HistoricalEsocialCategory id(String id) {
this.id = id;
return this;
}
/**
* Id do histórico
* @return id
**/
@ApiModelProperty(value = "Id do histórico")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public HistoricalEsocialCategory employee(Employee employee) {
this.employee = employee;
return this;
}
/**
* Get employee
* @return employee
**/
@ApiModelProperty(required = true, value = "")
public Employee getEmployee() {
return employee;
}
public void setEmployee(Employee employee) {
this.employee = employee;
}
public HistoricalEsocialCategory eSocialCategoryType(ESocialCategory eSocialCategoryType) {
this.eSocialCategoryType = eSocialCategoryType;
return this;
}
/**
* Get eSocialCategoryType
* @return eSocialCategoryType
**/
@ApiModelProperty(required = true, value = "")
public ESocialCategory getESocialCategoryType() {
return eSocialCategoryType;
}
public void setESocialCategoryType(ESocialCategory eSocialCategoryType) {
this.eSocialCategoryType = eSocialCategoryType;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
HistoricalEsocialCategory historicalEsocialCategory = (HistoricalEsocialCategory) o;
return Objects.equals(this.dateWhen, historicalEsocialCategory.dateWhen) &&
Objects.equals(this.endDate, historicalEsocialCategory.endDate) &&
Objects.equals(this.id, historicalEsocialCategory.id) &&
Objects.equals(this.employee, historicalEsocialCategory.employee) &&
Objects.equals(this.eSocialCategoryType, historicalEsocialCategory.eSocialCategoryType);
}
@Override
public int hashCode() {
return Objects.hash(dateWhen, endDate, id, employee, eSocialCategoryType);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class HistoricalEsocialCategory {\n");
sb.append(" dateWhen: ").append(toIndentedString(dateWhen)).append("\n");
sb.append(" endDate: ").append(toIndentedString(endDate)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" employee: ").append(toIndentedString(employee)).append("\n");
sb.append(" eSocialCategoryType: ").append(toIndentedString(eSocialCategoryType)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}