| 35971 |
aman |
1 |
package com.spice.profitmandi.dao.entity.user;
|
|
|
2 |
|
|
|
3 |
import com.spice.profitmandi.dao.enumuration.onBorading.onBoardingFormEnums.FullStockPaymentStatus;
|
|
|
4 |
|
|
|
5 |
import javax.persistence.*;
|
|
|
6 |
import java.time.LocalDate;
|
|
|
7 |
import java.time.LocalDateTime;
|
|
|
8 |
|
|
|
9 |
@Entity
|
|
|
10 |
@Table(name = "user.full_stock_payment")
|
|
|
11 |
public class FullStockPayment {
|
|
|
12 |
@Id
|
|
|
13 |
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
14 |
@Column(name = "id")
|
|
|
15 |
private int id;
|
|
|
16 |
@Column(name = "onboarding_id")
|
|
|
17 |
private int onboardingId;
|
|
|
18 |
@Column(name = "collected_amount")
|
|
|
19 |
private double collectedAmount;
|
|
|
20 |
@Column(name = "payment_mode")
|
|
|
21 |
private String paymentMode;
|
|
|
22 |
@Column(name = "payment_reference_no")
|
|
|
23 |
private String paymentReferenceNo;
|
|
|
24 |
@Column(name = "payment_status")
|
|
|
25 |
@Enumerated(EnumType.STRING)
|
|
|
26 |
private FullStockPaymentStatus paymentStatus;
|
|
|
27 |
@Column(name = "attachment")
|
|
|
28 |
private int attachment;
|
|
|
29 |
@Column(name = "submitted_by")
|
|
|
30 |
private String submittedBy;
|
|
|
31 |
@Column(name = "approver_email")
|
|
|
32 |
private String approverEmail;
|
|
|
33 |
@Column(name = "description")
|
|
|
34 |
private String description;
|
|
|
35 |
@Column(name = "submit_timestamp")
|
|
|
36 |
private LocalDateTime submitTimestamp;
|
|
|
37 |
@Column(name = "approve_timestamp")
|
|
|
38 |
private LocalDateTime approveTimestamp;
|
|
|
39 |
@Column(name = "bank_name")
|
|
|
40 |
private String bankName;
|
|
|
41 |
@Column(name = "reference_date")
|
|
|
42 |
private LocalDate referenceDate;
|
|
|
43 |
|
|
|
44 |
public int getId() {
|
|
|
45 |
return id;
|
|
|
46 |
}
|
|
|
47 |
|
|
|
48 |
public void setId(int id) {
|
|
|
49 |
this.id = id;
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
public int getOnboardingId() {
|
|
|
53 |
return onboardingId;
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
public void setOnboardingId(int onboardingId) {
|
|
|
57 |
this.onboardingId = onboardingId;
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
public double getCollectedAmount() {
|
|
|
61 |
return collectedAmount;
|
|
|
62 |
}
|
|
|
63 |
|
|
|
64 |
public void setCollectedAmount(double collectedAmount) {
|
|
|
65 |
this.collectedAmount = collectedAmount;
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
public String getPaymentMode() {
|
|
|
69 |
return paymentMode;
|
|
|
70 |
}
|
|
|
71 |
|
|
|
72 |
public void setPaymentMode(String paymentMode) {
|
|
|
73 |
this.paymentMode = paymentMode;
|
|
|
74 |
}
|
|
|
75 |
|
|
|
76 |
public String getPaymentReferenceNo() {
|
|
|
77 |
return paymentReferenceNo;
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
public void setPaymentReferenceNo(String paymentReferenceNo) {
|
|
|
81 |
this.paymentReferenceNo = paymentReferenceNo;
|
|
|
82 |
}
|
|
|
83 |
|
|
|
84 |
public FullStockPaymentStatus getPaymentStatus() {
|
|
|
85 |
return paymentStatus;
|
|
|
86 |
}
|
|
|
87 |
|
|
|
88 |
public void setPaymentStatus(FullStockPaymentStatus paymentStatus) {
|
|
|
89 |
this.paymentStatus = paymentStatus;
|
|
|
90 |
}
|
|
|
91 |
|
|
|
92 |
public int getAttachment() {
|
|
|
93 |
return attachment;
|
|
|
94 |
}
|
|
|
95 |
|
|
|
96 |
public void setAttachment(int attachment) {
|
|
|
97 |
this.attachment = attachment;
|
|
|
98 |
}
|
|
|
99 |
|
|
|
100 |
public String getSubmittedBy() {
|
|
|
101 |
return submittedBy;
|
|
|
102 |
}
|
|
|
103 |
|
|
|
104 |
public void setSubmittedBy(String submittedBy) {
|
|
|
105 |
this.submittedBy = submittedBy;
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
public String getApproverEmail() {
|
|
|
109 |
return approverEmail;
|
|
|
110 |
}
|
|
|
111 |
|
|
|
112 |
public void setApproverEmail(String approverEmail) {
|
|
|
113 |
this.approverEmail = approverEmail;
|
|
|
114 |
}
|
|
|
115 |
|
|
|
116 |
public String getDescription() {
|
|
|
117 |
return description;
|
|
|
118 |
}
|
|
|
119 |
|
|
|
120 |
public void setDescription(String description) {
|
|
|
121 |
this.description = description;
|
|
|
122 |
}
|
|
|
123 |
|
|
|
124 |
public LocalDateTime getSubmitTimestamp() {
|
|
|
125 |
return submitTimestamp;
|
|
|
126 |
}
|
|
|
127 |
|
|
|
128 |
public void setSubmitTimestamp(LocalDateTime submitTimestamp) {
|
|
|
129 |
this.submitTimestamp = submitTimestamp;
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
public LocalDateTime getApproveTimestamp() {
|
|
|
133 |
return approveTimestamp;
|
|
|
134 |
}
|
|
|
135 |
|
|
|
136 |
public void setApproveTimestamp(LocalDateTime approveTimestamp) {
|
|
|
137 |
this.approveTimestamp = approveTimestamp;
|
|
|
138 |
}
|
|
|
139 |
|
|
|
140 |
public String getBankName() {
|
|
|
141 |
return bankName;
|
|
|
142 |
}
|
|
|
143 |
|
|
|
144 |
public void setBankName(String bankName) {
|
|
|
145 |
this.bankName = bankName;
|
|
|
146 |
}
|
|
|
147 |
|
|
|
148 |
public LocalDate getReferenceDate() {
|
|
|
149 |
return referenceDate;
|
|
|
150 |
}
|
|
|
151 |
|
|
|
152 |
public void setReferenceDate(LocalDate referenceDate) {
|
|
|
153 |
this.referenceDate = referenceDate;
|
|
|
154 |
}
|
|
|
155 |
|
|
|
156 |
@Override
|
|
|
157 |
public String toString() {
|
|
|
158 |
return "FullStockPayment{" +
|
|
|
159 |
"id=" + id +
|
|
|
160 |
", onboardingId=" + onboardingId +
|
|
|
161 |
", collectedAmount=" + collectedAmount +
|
|
|
162 |
", paymentMode='" + paymentMode + '\'' +
|
|
|
163 |
", paymentReferenceNo='" + paymentReferenceNo + '\'' +
|
|
|
164 |
", paymentStatus=" + paymentStatus +
|
|
|
165 |
", attachment=" + attachment +
|
|
|
166 |
", submittedBy='" + submittedBy + '\'' +
|
|
|
167 |
", approverEmail='" + approverEmail + '\'' +
|
|
|
168 |
", description='" + description + '\'' +
|
|
|
169 |
", submitTimestamp=" + submitTimestamp +
|
|
|
170 |
", approveTimestamp=" + approveTimestamp +
|
|
|
171 |
", bankName='" + bankName + '\'' +
|
|
|
172 |
", referenceDate=" + referenceDate +
|
|
|
173 |
'}';
|
|
|
174 |
}
|
|
|
175 |
}
|