| Line 52... |
Line 52... |
| 52 |
private String state;
|
52 |
private String state;
|
| 53 |
|
53 |
|
| 54 |
@Column(name = "pincode", nullable = false, length = 6)
|
54 |
@Column(name = "pincode", nullable = false, length = 6)
|
| 55 |
private String pincode;
|
55 |
private String pincode;
|
| 56 |
|
56 |
|
| - |
|
57 |
@Column(name = "asm_id")
|
| - |
|
58 |
private Integer asmId;
|
| - |
|
59 |
|
| - |
|
60 |
@Column(name = "bm_id")
|
| - |
|
61 |
private Integer bmId;
|
| - |
|
62 |
|
| - |
|
63 |
@Column(name = "refer_by_email")
|
| - |
|
64 |
private String referByEmail;
|
| 57 |
|
65 |
|
| 58 |
@Column(name = "status", length = 20)
|
66 |
@Column(name = "status", length = 20)
|
| 59 |
@Enumerated(EnumType.STRING)
|
67 |
@Enumerated(EnumType.STRING)
|
| 60 |
private ProfitMandiConstants.Status status;
|
68 |
private ProfitMandiConstants.Status status;
|
| 61 |
|
69 |
|
| Line 66... |
Line 74... |
| 66 |
private LocalDateTime updatedOn;
|
74 |
private LocalDateTime updatedOn;
|
| 67 |
|
75 |
|
| 68 |
public TrialForm() {
|
76 |
public TrialForm() {
|
| 69 |
}
|
77 |
}
|
| 70 |
|
78 |
|
| 71 |
public TrialForm(int id, String firstName, String lastName, String email, String mobile, Integer panDocumentId, Integer aadhaarDocumentId, String gstNumber, String businessName, String addressLine1, String addressLine2, String city, String state, String pincode, LocalDateTime trialStartDate, LocalDateTime trialEndDate, ProfitMandiConstants.Status status, LocalDateTime createdOn, LocalDateTime updatedOn) {
|
79 |
public TrialForm(int id, String firstName, String lastName, String email, String mobile, Integer panDocumentId, Integer aadhaarDocumentId, String gstNumber, String businessName, String addressLine1, String addressLine2, String city, String state, String pincode, Integer asmId, Integer bmId, String referByEmail, ProfitMandiConstants.Status status, LocalDateTime createdOn, LocalDateTime updatedOn) {
|
| 72 |
this.id = id;
|
80 |
this.id = id;
|
| 73 |
this.firstName = firstName;
|
81 |
this.firstName = firstName;
|
| 74 |
this.lastName = lastName;
|
82 |
this.lastName = lastName;
|
| 75 |
this.email = email;
|
83 |
this.email = email;
|
| 76 |
this.mobile = mobile;
|
84 |
this.mobile = mobile;
|
| Line 81... |
Line 89... |
| 81 |
this.addressLine1 = addressLine1;
|
89 |
this.addressLine1 = addressLine1;
|
| 82 |
this.addressLine2 = addressLine2;
|
90 |
this.addressLine2 = addressLine2;
|
| 83 |
this.city = city;
|
91 |
this.city = city;
|
| 84 |
this.state = state;
|
92 |
this.state = state;
|
| 85 |
this.pincode = pincode;
|
93 |
this.pincode = pincode;
|
| - |
|
94 |
this.asmId = asmId;
|
| - |
|
95 |
this.bmId = bmId;
|
| - |
|
96 |
this.referByEmail = referByEmail;
|
| 86 |
this.status = status;
|
97 |
this.status = status;
|
| 87 |
this.createdOn = createdOn;
|
98 |
this.createdOn = createdOn;
|
| 88 |
this.updatedOn = updatedOn;
|
99 |
this.updatedOn = updatedOn;
|
| 89 |
}
|
100 |
}
|
| 90 |
|
101 |
|
| Line 222... |
Line 233... |
| 222 |
|
233 |
|
| 223 |
public void setUpdatedOn(LocalDateTime updatedOn) {
|
234 |
public void setUpdatedOn(LocalDateTime updatedOn) {
|
| 224 |
this.updatedOn = updatedOn;
|
235 |
this.updatedOn = updatedOn;
|
| 225 |
}
|
236 |
}
|
| 226 |
|
237 |
|
| - |
|
238 |
public Integer getAsmId() {
|
| - |
|
239 |
return asmId;
|
| - |
|
240 |
}
|
| - |
|
241 |
|
| - |
|
242 |
public void setAsmId(Integer asmId) {
|
| - |
|
243 |
this.asmId = asmId;
|
| - |
|
244 |
}
|
| - |
|
245 |
|
| - |
|
246 |
public Integer getBmId() {
|
| - |
|
247 |
return bmId;
|
| - |
|
248 |
}
|
| - |
|
249 |
|
| - |
|
250 |
public void setBmId(Integer bmId) {
|
| - |
|
251 |
this.bmId = bmId;
|
| - |
|
252 |
}
|
| - |
|
253 |
|
| - |
|
254 |
public String getReferByEmail() {
|
| - |
|
255 |
return referByEmail;
|
| - |
|
256 |
}
|
| - |
|
257 |
|
| - |
|
258 |
public void setReferByEmail(String referByEmail) {
|
| - |
|
259 |
this.referByEmail = referByEmail;
|
| - |
|
260 |
}
|
| - |
|
261 |
|
| 227 |
@Override
|
262 |
@Override
|
| 228 |
public String toString() {
|
263 |
public String toString() {
|
| 229 |
return "TrialForm{" +
|
264 |
return "TrialForm{" +
|
| 230 |
"id=" + id +
|
265 |
"id=" + id +
|
| 231 |
", firstName='" + firstName + '\'' +
|
266 |
", firstName='" + firstName + '\'' +
|
| Line 239... |
Line 274... |
| 239 |
", addressLine1='" + addressLine1 + '\'' +
|
274 |
", addressLine1='" + addressLine1 + '\'' +
|
| 240 |
", addressLine2='" + addressLine2 + '\'' +
|
275 |
", addressLine2='" + addressLine2 + '\'' +
|
| 241 |
", city='" + city + '\'' +
|
276 |
", city='" + city + '\'' +
|
| 242 |
", state='" + state + '\'' +
|
277 |
", state='" + state + '\'' +
|
| 243 |
", pincode='" + pincode + '\'' +
|
278 |
", pincode='" + pincode + '\'' +
|
| - |
|
279 |
", asmId=" + asmId +
|
| - |
|
280 |
", bmId=" + bmId +
|
| - |
|
281 |
", referByEmail='" + referByEmail + '\'' +
|
| 244 |
", status=" + status +
|
282 |
", status=" + status +
|
| 245 |
", createdOn=" + createdOn +
|
283 |
", createdOn=" + createdOn +
|
| 246 |
", updatedOn=" + updatedOn +
|
284 |
", updatedOn=" + updatedOn +
|
| 247 |
'}';
|
285 |
'}';
|
| 248 |
}
|
286 |
}
|
| 249 |
|
287 |
|
| 250 |
@Override
|
288 |
@Override
|
| 251 |
public boolean equals(Object o) {
|
289 |
public boolean equals(Object o) {
|
| 252 |
if (o == null || getClass() != o.getClass()) return false;
|
290 |
if (o == null || getClass() != o.getClass()) return false;
|
| 253 |
TrialForm trialForm = (TrialForm) o;
|
291 |
TrialForm trialForm = (TrialForm) o;
|
| 254 |
return id == trialForm.id && Objects.equals(firstName, trialForm.firstName) && Objects.equals(lastName, trialForm.lastName) && Objects.equals(email, trialForm.email) && Objects.equals(mobile, trialForm.mobile) && Objects.equals(panDocumentId, trialForm.panDocumentId) && Objects.equals(aadhaarDocumentId, trialForm.aadhaarDocumentId) && Objects.equals(gstNumber, trialForm.gstNumber) && Objects.equals(businessName, trialForm.businessName) && Objects.equals(addressLine1, trialForm.addressLine1) && Objects.equals(addressLine2, trialForm.addressLine2) && Objects.equals(city, trialForm.city) && Objects.equals(state, trialForm.state) && Objects.equals(pincode, trialForm.pincode) && status == trialForm.status && Objects.equals(createdOn, trialForm.createdOn) && Objects.equals(updatedOn, trialForm.updatedOn);
|
292 |
return id == trialForm.id && Objects.equals(firstName, trialForm.firstName) && Objects.equals(lastName, trialForm.lastName) && Objects.equals(email, trialForm.email) && Objects.equals(mobile, trialForm.mobile) && Objects.equals(panDocumentId, trialForm.panDocumentId) && Objects.equals(aadhaarDocumentId, trialForm.aadhaarDocumentId) && Objects.equals(gstNumber, trialForm.gstNumber) && Objects.equals(businessName, trialForm.businessName) && Objects.equals(addressLine1, trialForm.addressLine1) && Objects.equals(addressLine2, trialForm.addressLine2) && Objects.equals(city, trialForm.city) && Objects.equals(state, trialForm.state) && Objects.equals(pincode, trialForm.pincode) && Objects.equals(asmId, trialForm.asmId) && Objects.equals(bmId, trialForm.bmId) && Objects.equals(referByEmail, trialForm.referByEmail) && status == trialForm.status && Objects.equals(createdOn, trialForm.createdOn) && Objects.equals(updatedOn, trialForm.updatedOn);
|
| 255 |
}
|
293 |
}
|
| 256 |
|
294 |
|
| 257 |
@Override
|
295 |
@Override
|
| 258 |
public int hashCode() {
|
296 |
public int hashCode() {
|
| 259 |
return Objects.hash(id, firstName, lastName, email, mobile, panDocumentId, aadhaarDocumentId, gstNumber, businessName, addressLine1, addressLine2, city, state, pincode, status, createdOn, updatedOn);
|
297 |
return Objects.hash(id, firstName, lastName, email, mobile, panDocumentId, aadhaarDocumentId, gstNumber, businessName, addressLine1, addressLine2, city, state, pincode, asmId, bmId, referByEmail, status, createdOn, updatedOn);
|
| 260 |
}
|
298 |
}
|
| 261 |
}
|
299 |
}
|