| 37898 |
ranu |
1 |
package com.spice.profitmandi.dao.entity.catalog;
|
|
|
2 |
|
|
|
3 |
import javax.persistence.*;
|
|
|
4 |
import java.io.Serializable;
|
|
|
5 |
import java.math.BigDecimal;
|
|
|
6 |
|
|
|
7 |
@Entity
|
|
|
8 |
@Table(name = "catalog.emi_plan")
|
|
|
9 |
public class EmiPlan implements Serializable {
|
|
|
10 |
|
|
|
11 |
private static final long serialVersionUID = 1L;
|
|
|
12 |
|
|
|
13 |
@Id
|
|
|
14 |
@Column(name = "id", columnDefinition = "int unsigned")
|
|
|
15 |
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
16 |
private int id;
|
|
|
17 |
|
|
|
18 |
@Column(name = "emi_bank_group_id", columnDefinition = "int unsigned", nullable = false)
|
|
|
19 |
private int emiBankGroupId;
|
|
|
20 |
|
|
|
21 |
@Column(name = "tenure_months", columnDefinition = "smallint unsigned")
|
|
|
22 |
private Integer tenureMonths;
|
|
|
23 |
|
|
|
24 |
@Column(name = "tenure_label", length = 32, nullable = false)
|
|
|
25 |
private String tenureLabel;
|
|
|
26 |
|
|
|
27 |
@Column(name = "emi_amount_rupees", precision = 10, scale = 2)
|
|
|
28 |
private BigDecimal emiAmountRupees;
|
|
|
29 |
|
|
|
30 |
@Column(name = "offer_type", length = 32)
|
|
|
31 |
private String offerType;
|
|
|
32 |
|
|
|
33 |
@Column(name = "total_cost_rupees", precision = 12, scale = 2)
|
|
|
34 |
private BigDecimal totalCostRupees;
|
|
|
35 |
|
|
|
36 |
@Column(name = "interest_rate_pct", precision = 5, scale = 2)
|
|
|
37 |
private BigDecimal interestRatePct;
|
|
|
38 |
|
|
|
39 |
@Column(name = "interest_rupees", precision = 10, scale = 2)
|
|
|
40 |
private BigDecimal interestRupees;
|
|
|
41 |
|
|
|
42 |
@Column(name = "discount_rupees", precision = 10, scale = 2)
|
|
|
43 |
private BigDecimal discountRupees;
|
|
|
44 |
|
|
|
45 |
@Column(name = "raw_text", length = 500)
|
|
|
46 |
private String rawText;
|
|
|
47 |
|
|
|
48 |
public int getId() {
|
|
|
49 |
return id;
|
|
|
50 |
}
|
|
|
51 |
|
|
|
52 |
public void setId(int id) {
|
|
|
53 |
this.id = id;
|
|
|
54 |
}
|
|
|
55 |
|
|
|
56 |
public int getEmiBankGroupId() {
|
|
|
57 |
return emiBankGroupId;
|
|
|
58 |
}
|
|
|
59 |
|
|
|
60 |
public void setEmiBankGroupId(int emiBankGroupId) {
|
|
|
61 |
this.emiBankGroupId = emiBankGroupId;
|
|
|
62 |
}
|
|
|
63 |
|
|
|
64 |
public Integer getTenureMonths() {
|
|
|
65 |
return tenureMonths;
|
|
|
66 |
}
|
|
|
67 |
|
|
|
68 |
public void setTenureMonths(Integer tenureMonths) {
|
|
|
69 |
this.tenureMonths = tenureMonths;
|
|
|
70 |
}
|
|
|
71 |
|
|
|
72 |
public String getTenureLabel() {
|
|
|
73 |
return tenureLabel;
|
|
|
74 |
}
|
|
|
75 |
|
|
|
76 |
public void setTenureLabel(String tenureLabel) {
|
|
|
77 |
this.tenureLabel = tenureLabel;
|
|
|
78 |
}
|
|
|
79 |
|
|
|
80 |
public BigDecimal getEmiAmountRupees() {
|
|
|
81 |
return emiAmountRupees;
|
|
|
82 |
}
|
|
|
83 |
|
|
|
84 |
public void setEmiAmountRupees(BigDecimal emiAmountRupees) {
|
|
|
85 |
this.emiAmountRupees = emiAmountRupees;
|
|
|
86 |
}
|
|
|
87 |
|
|
|
88 |
public String getOfferType() {
|
|
|
89 |
return offerType;
|
|
|
90 |
}
|
|
|
91 |
|
|
|
92 |
public void setOfferType(String offerType) {
|
|
|
93 |
this.offerType = offerType;
|
|
|
94 |
}
|
|
|
95 |
|
|
|
96 |
public BigDecimal getTotalCostRupees() {
|
|
|
97 |
return totalCostRupees;
|
|
|
98 |
}
|
|
|
99 |
|
|
|
100 |
public void setTotalCostRupees(BigDecimal totalCostRupees) {
|
|
|
101 |
this.totalCostRupees = totalCostRupees;
|
|
|
102 |
}
|
|
|
103 |
|
|
|
104 |
public BigDecimal getInterestRatePct() {
|
|
|
105 |
return interestRatePct;
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
public void setInterestRatePct(BigDecimal interestRatePct) {
|
|
|
109 |
this.interestRatePct = interestRatePct;
|
|
|
110 |
}
|
|
|
111 |
|
|
|
112 |
public BigDecimal getInterestRupees() {
|
|
|
113 |
return interestRupees;
|
|
|
114 |
}
|
|
|
115 |
|
|
|
116 |
public void setInterestRupees(BigDecimal interestRupees) {
|
|
|
117 |
this.interestRupees = interestRupees;
|
|
|
118 |
}
|
|
|
119 |
|
|
|
120 |
public BigDecimal getDiscountRupees() {
|
|
|
121 |
return discountRupees;
|
|
|
122 |
}
|
|
|
123 |
|
|
|
124 |
public void setDiscountRupees(BigDecimal discountRupees) {
|
|
|
125 |
this.discountRupees = discountRupees;
|
|
|
126 |
}
|
|
|
127 |
|
|
|
128 |
public String getRawText() {
|
|
|
129 |
return rawText;
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
public void setRawText(String rawText) {
|
|
|
133 |
this.rawText = rawText;
|
|
|
134 |
}
|
|
|
135 |
}
|