-
Notifications
You must be signed in to change notification settings - Fork 3
/
DependentIncomeTax.java
188 lines (155 loc) · 4.81 KB
/
DependentIncomeTax.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
/*
* Dependentes
* HCM - Gestão de dependentes
*
*
* 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.dependent.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.dependent.pojos.Dependent;
import java.io.IOException;
import org.threeten.bp.LocalDate;
/**
* DependentIncomeTax
*/
public class DependentIncomeTax {
@SerializedName("beginCompetence")
private LocalDate beginCompetence = null;
@SerializedName("endCompetence")
private LocalDate endCompetence = null;
@SerializedName("ageLimitIncomeTax")
private Integer ageLimitIncomeTax = null;
@SerializedName("id")
private String id = null;
@SerializedName("dependent")
private Dependent dependent = null;
public DependentIncomeTax beginCompetence(LocalDate beginCompetence) {
this.beginCompetence = beginCompetence;
return this;
}
/**
* Inicio da competência
* @return beginCompetence
**/
@ApiModelProperty(required = true, value = "Inicio da competência")
public LocalDate getBeginCompetence() {
return beginCompetence;
}
public void setBeginCompetence(LocalDate beginCompetence) {
this.beginCompetence = beginCompetence;
}
public DependentIncomeTax endCompetence(LocalDate endCompetence) {
this.endCompetence = endCompetence;
return this;
}
/**
* Fim da competência
* @return endCompetence
**/
@ApiModelProperty(required = true, value = "Fim da competência")
public LocalDate getEndCompetence() {
return endCompetence;
}
public void setEndCompetence(LocalDate endCompetence) {
this.endCompetence = endCompetence;
}
public DependentIncomeTax ageLimitIncomeTax(Integer ageLimitIncomeTax) {
this.ageLimitIncomeTax = ageLimitIncomeTax;
return this;
}
/**
* Idade limite imposto de renda
* @return ageLimitIncomeTax
**/
@ApiModelProperty(value = "Idade limite imposto de renda")
public Integer getAgeLimitIncomeTax() {
return ageLimitIncomeTax;
}
public void setAgeLimitIncomeTax(Integer ageLimitIncomeTax) {
this.ageLimitIncomeTax = ageLimitIncomeTax;
}
public DependentIncomeTax id(String id) {
this.id = id;
return this;
}
/**
* Id da entidade
* @return id
**/
@ApiModelProperty(value = "Id da entidade")
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public DependentIncomeTax dependent(Dependent dependent) {
this.dependent = dependent;
return this;
}
/**
* Get dependent
* @return dependent
**/
@ApiModelProperty(required = true, value = "")
public Dependent getDependent() {
return dependent;
}
public void setDependent(Dependent dependent) {
this.dependent = dependent;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DependentIncomeTax dependentIncomeTax = (DependentIncomeTax) o;
return Objects.equals(this.beginCompetence, dependentIncomeTax.beginCompetence) &&
Objects.equals(this.endCompetence, dependentIncomeTax.endCompetence) &&
Objects.equals(this.ageLimitIncomeTax, dependentIncomeTax.ageLimitIncomeTax) &&
Objects.equals(this.id, dependentIncomeTax.id) &&
Objects.equals(this.dependent, dependentIncomeTax.dependent);
}
@Override
public int hashCode() {
return Objects.hash(beginCompetence, endCompetence, ageLimitIncomeTax, id, dependent);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DependentIncomeTax {\n");
sb.append(" beginCompetence: ").append(toIndentedString(beginCompetence)).append("\n");
sb.append(" endCompetence: ").append(toIndentedString(endCompetence)).append("\n");
sb.append(" ageLimitIncomeTax: ").append(toIndentedString(ageLimitIncomeTax)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" dependent: ").append(toIndentedString(dependent)).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 ");
}
}