Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.catalog;import javax.persistence.*;import java.io.Serializable;import java.math.BigDecimal;@Entity@Table(name = "catalog.emi_plan")public class EmiPlan implements Serializable {private static final long serialVersionUID = 1L;@Id@Column(name = "id", columnDefinition = "int unsigned")@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "emi_bank_group_id", columnDefinition = "int unsigned", nullable = false)private int emiBankGroupId;@Column(name = "tenure_months", columnDefinition = "smallint unsigned")private Integer tenureMonths;@Column(name = "tenure_label", length = 32, nullable = false)private String tenureLabel;@Column(name = "emi_amount_rupees", precision = 10, scale = 2)private BigDecimal emiAmountRupees;@Column(name = "offer_type", length = 32)private String offerType;@Column(name = "total_cost_rupees", precision = 12, scale = 2)private BigDecimal totalCostRupees;@Column(name = "interest_rate_pct", precision = 5, scale = 2)private BigDecimal interestRatePct;@Column(name = "interest_rupees", precision = 10, scale = 2)private BigDecimal interestRupees;@Column(name = "discount_rupees", precision = 10, scale = 2)private BigDecimal discountRupees;@Column(name = "raw_text", length = 500)private String rawText;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getEmiBankGroupId() {return emiBankGroupId;}public void setEmiBankGroupId(int emiBankGroupId) {this.emiBankGroupId = emiBankGroupId;}public Integer getTenureMonths() {return tenureMonths;}public void setTenureMonths(Integer tenureMonths) {this.tenureMonths = tenureMonths;}public String getTenureLabel() {return tenureLabel;}public void setTenureLabel(String tenureLabel) {this.tenureLabel = tenureLabel;}public BigDecimal getEmiAmountRupees() {return emiAmountRupees;}public void setEmiAmountRupees(BigDecimal emiAmountRupees) {this.emiAmountRupees = emiAmountRupees;}public String getOfferType() {return offerType;}public void setOfferType(String offerType) {this.offerType = offerType;}public BigDecimal getTotalCostRupees() {return totalCostRupees;}public void setTotalCostRupees(BigDecimal totalCostRupees) {this.totalCostRupees = totalCostRupees;}public BigDecimal getInterestRatePct() {return interestRatePct;}public void setInterestRatePct(BigDecimal interestRatePct) {this.interestRatePct = interestRatePct;}public BigDecimal getInterestRupees() {return interestRupees;}public void setInterestRupees(BigDecimal interestRupees) {this.interestRupees = interestRupees;}public BigDecimal getDiscountRupees() {return discountRupees;}public void setDiscountRupees(BigDecimal discountRupees) {this.discountRupees = discountRupees;}public String getRawText() {return rawText;}public void setRawText(String rawText) {this.rawText = rawText;}}