| 29707 |
tejbeer |
1 |
package com.spice.profitmandi.dao.model;
|
|
|
2 |
|
|
|
3 |
import java.time.LocalDateTime;
|
|
|
4 |
|
|
|
5 |
import com.spice.profitmandi.dao.enumuration.catalog.UpgradeOfferStatus;
|
|
|
6 |
|
|
|
7 |
public class CustomCustomerOffer {
|
|
|
8 |
|
|
|
9 |
private int id;
|
|
|
10 |
|
|
|
11 |
private int catalogId;
|
|
|
12 |
|
|
|
13 |
private int customerOfferId;
|
|
|
14 |
|
|
|
15 |
private int schemePayout;
|
|
|
16 |
|
|
|
17 |
private int dealerPayout;
|
|
|
18 |
private LocalDateTime createdTimestamp;
|
|
|
19 |
|
|
|
20 |
private LocalDateTime updatedTimestamp;
|
|
|
21 |
|
|
|
22 |
private String offerName;
|
|
|
23 |
|
|
|
24 |
private UpgradeOfferStatus status;
|
|
|
25 |
|
|
|
26 |
private LocalDateTime approveTimestamp;
|
|
|
27 |
|
|
|
28 |
private boolean changePriceVisibility;
|
|
|
29 |
|
|
|
30 |
public boolean isChangePriceVisibility() {
|
|
|
31 |
return changePriceVisibility;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
public void setChangePriceVisibility(boolean changePriceVisibility) {
|
|
|
35 |
this.changePriceVisibility = changePriceVisibility;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public int getId() {
|
|
|
39 |
return id;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public void setId(int id) {
|
|
|
43 |
this.id = id;
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
public int getCatalogId() {
|
|
|
47 |
return catalogId;
|
|
|
48 |
}
|
|
|
49 |
|
|
|
50 |
public void setCatalogId(int catalogId) {
|
|
|
51 |
this.catalogId = catalogId;
|
|
|
52 |
}
|
|
|
53 |
|
|
|
54 |
public int getCustomerOfferId() {
|
|
|
55 |
return customerOfferId;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
public void setCustomerOfferId(int customerOfferId) {
|
|
|
59 |
this.customerOfferId = customerOfferId;
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
public int getSchemePayout() {
|
|
|
63 |
return schemePayout;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
public void setSchemePayout(int schemePayout) {
|
|
|
67 |
this.schemePayout = schemePayout;
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
public int getDealerPayout() {
|
|
|
71 |
return dealerPayout;
|
|
|
72 |
}
|
|
|
73 |
|
|
|
74 |
public void setDealerPayout(int dealerPayout) {
|
|
|
75 |
this.dealerPayout = dealerPayout;
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
public LocalDateTime getCreatedTimestamp() {
|
|
|
79 |
return createdTimestamp;
|
|
|
80 |
}
|
|
|
81 |
|
|
|
82 |
public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
|
|
|
83 |
this.createdTimestamp = createdTimestamp;
|
|
|
84 |
}
|
|
|
85 |
|
|
|
86 |
public LocalDateTime getUpdatedTimestamp() {
|
|
|
87 |
return updatedTimestamp;
|
|
|
88 |
}
|
|
|
89 |
|
|
|
90 |
public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
|
|
|
91 |
this.updatedTimestamp = updatedTimestamp;
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
public String getOfferName() {
|
|
|
95 |
return offerName;
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
public void setOfferName(String offerName) {
|
|
|
99 |
this.offerName = offerName;
|
|
|
100 |
}
|
|
|
101 |
|
|
|
102 |
public UpgradeOfferStatus getStatus() {
|
|
|
103 |
return status;
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
public void setStatus(UpgradeOfferStatus status) {
|
|
|
107 |
this.status = status;
|
|
|
108 |
}
|
|
|
109 |
|
|
|
110 |
public LocalDateTime getApproveTimestamp() {
|
|
|
111 |
return approveTimestamp;
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
public void setApproveTimestamp(LocalDateTime approveTimestamp) {
|
|
|
115 |
this.approveTimestamp = approveTimestamp;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
@Override
|
|
|
119 |
public String toString() {
|
|
|
120 |
return "CustomCustomerOffer [id=" + id + ", catalogId=" + catalogId + ", customerOfferId=" + customerOfferId
|
|
|
121 |
+ ", schemePayout=" + schemePayout + ", dealerPayout=" + dealerPayout + ", createdTimestamp="
|
|
|
122 |
+ createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + ", offerName=" + offerName + ", status="
|
|
|
123 |
+ status + ", approveTimestamp=" + approveTimestamp + ", changePriceVisibility=" + changePriceVisibility
|
|
|
124 |
+ "]";
|
|
|
125 |
}
|
|
|
126 |
|
|
|
127 |
}
|