| Line 14... |
Line 14... |
| 14 |
List<Integer> documentIds;
|
14 |
List<Integer> documentIds;
|
| 15 |
List<CatalogBrief> catalogBriefList;
|
15 |
List<CatalogBrief> catalogBriefList;
|
| 16 |
List<PartnerBrief> partnerBriefList;
|
16 |
List<PartnerBrief> partnerBriefList;
|
| 17 |
boolean isCatalogOffer;
|
17 |
boolean isCatalogOffer;
|
| 18 |
LocalDateTime createdAt;
|
18 |
LocalDateTime createdAt;
|
| - |
|
19 |
String createdBy;
|
| 19 |
ProfitMandiConstants.BULLETIN_TYPE_ENUM bulletinType;
|
20 |
ProfitMandiConstants.BULLETIN_TYPE_ENUM bulletinType;
|
| 20 |
|
21 |
|
| 21 |
public String getTitle() {
|
22 |
public String getTitle() {
|
| 22 |
return title;
|
23 |
return title;
|
| 23 |
}
|
24 |
}
|
| Line 96... |
Line 97... |
| 96 |
|
97 |
|
| 97 |
public void setCreatedAt(LocalDateTime createdAt) {
|
98 |
public void setCreatedAt(LocalDateTime createdAt) {
|
| 98 |
this.createdAt = createdAt;
|
99 |
this.createdAt = createdAt;
|
| 99 |
}
|
100 |
}
|
| 100 |
|
101 |
|
| - |
|
102 |
public String getCreatedBy() {
|
| - |
|
103 |
return createdBy;
|
| - |
|
104 |
}
|
| - |
|
105 |
|
| - |
|
106 |
public void setCreatedBy(String createdBy) {
|
| - |
|
107 |
this.createdBy = createdBy;
|
| - |
|
108 |
}
|
| - |
|
109 |
|
| 101 |
@Override
|
110 |
@Override
|
| 102 |
public boolean equals(Object o) {
|
111 |
public boolean equals(Object o) {
|
| 103 |
if (this == o) return true;
|
112 |
if (this == o) return true;
|
| 104 |
if (o == null || getClass() != o.getClass()) return false;
|
113 |
if (o == null || getClass() != o.getClass()) return false;
|
| 105 |
BulletinOfferModal that = (BulletinOfferModal) o;
|
114 |
BulletinOfferModal that = (BulletinOfferModal) o;
|
| 106 |
return offerId == that.offerId && isCatalogOffer == that.isCatalogOffer && Objects.equals(title, that.title) && Objects.equals(description, that.description) && Objects.equals(createdTime, that.createdTime) && Objects.equals(documentIds, that.documentIds) && Objects.equals(catalogBriefList, that.catalogBriefList) && Objects.equals(partnerBriefList, that.partnerBriefList) && Objects.equals(createdAt, that.createdAt) && bulletinType == that.bulletinType;
|
115 |
return offerId == that.offerId && isCatalogOffer == that.isCatalogOffer && Objects.equals(title, that.title) && Objects.equals(description, that.description) && Objects.equals(createdTime, that.createdTime) && Objects.equals(documentIds, that.documentIds) && Objects.equals(catalogBriefList, that.catalogBriefList) && Objects.equals(partnerBriefList, that.partnerBriefList) && Objects.equals(createdAt, that.createdAt) && Objects.equals(createdBy, that.createdBy) && bulletinType == that.bulletinType;
|
| 107 |
}
|
116 |
}
|
| 108 |
|
117 |
|
| 109 |
@Override
|
118 |
@Override
|
| 110 |
public int hashCode() {
|
119 |
public int hashCode() {
|
| 111 |
return Objects.hash(offerId, title, description, createdTime, documentIds, catalogBriefList, partnerBriefList, isCatalogOffer, createdAt, bulletinType);
|
120 |
return Objects.hash(offerId, title, description, createdTime, documentIds, catalogBriefList, partnerBriefList, isCatalogOffer, createdAt, createdBy, bulletinType);
|
| 112 |
}
|
121 |
}
|
| 113 |
|
122 |
|
| 114 |
@Override
|
123 |
@Override
|
| 115 |
public String toString() {
|
124 |
public String toString() {
|
| 116 |
return "BulletinOfferModal{" +
|
125 |
return "BulletinOfferModal{" +
|