Subversion Repositories SmartDukaan

Rev

Rev 24317 | Rev 28755 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24317 Rev 24328
Line 37... Line 37...
37
	private ApplicableServiceType applicableType;
37
	private ApplicableServiceType applicableType;
38
	
38
	
39
	@Column(name="code")
39
	@Column(name="code")
40
	private String code;
40
	private String code;
41
	
41
	
42
	@Column(name="partner_status_type")
-
 
43
	@Enumerated(EnumType.STRING)
-
 
44
	private PartnerStatusType partnerStatusType;
-
 
45
	
-
 
46
	@Column(name="na_Comment")
42
	@Column(name="na_Comment")
47
	private String na_Comment;
43
	private String na_Comment;
48
	
-
 
49
	@Column(name="partner_status_comment")
-
 
50
	private String partnerStatusComment;
-
 
51
 
44
 
52
	public int getId() {
45
	public int getId() {
53
		return id;
46
		return id;
54
	}
47
	}
55
 
48
 
Line 87... Line 80...
87
 
80
 
88
	public void setCode(String code) {
81
	public void setCode(String code) {
89
		this.code = code;
82
		this.code = code;
90
	}
83
	}
91
 
84
 
92
	public PartnerStatusType getPartnerStatusType() {
-
 
93
		return partnerStatusType;
-
 
94
	}
-
 
95
 
-
 
96
	public void setPartnerStatusType(PartnerStatusType partnerStatusType) {
-
 
97
		this.partnerStatusType = partnerStatusType;
-
 
98
	}
-
 
99
 
-
 
100
	public String getNa_Comment() {
85
	public String getNa_Comment() {
101
		return na_Comment;
86
		return na_Comment;
102
	}
87
	}
103
 
88
 
104
	public void setNa_Comment(String na_Comment) {
89
	public void setNa_Comment(String na_Comment) {
105
		this.na_Comment = na_Comment;
90
		this.na_Comment = na_Comment;
106
	}
91
	}
107
 
92
 
108
	public String getPartnerStatusComment() {
-
 
109
		return partnerStatusComment;
-
 
110
	}
-
 
111
 
-
 
112
	public void setPartnerStatusComment(String partnerStatusComment) {
-
 
113
		this.partnerStatusComment = partnerStatusComment;
-
 
114
	}
-
 
115
 
-
 
116
	@Override
93
	@Override
117
	public int hashCode() {
94
	public int hashCode() {
118
		final int prime = 31;
95
		final int prime = 31;
119
		int result = 1;
96
		int result = 1;
120
		result = prime * result + ((applicableType == null) ? 0 : applicableType.hashCode());
97
		result = prime * result + ((applicableType == null) ? 0 : applicableType.hashCode());
121
		result = prime * result + ((code == null) ? 0 : code.hashCode());
98
		result = prime * result + ((code == null) ? 0 : code.hashCode());
122
		result = prime * result + fofoId;
99
		result = prime * result + fofoId;
123
		result = prime * result + id;
100
		result = prime * result + id;
124
		result = prime * result + ((na_Comment == null) ? 0 : na_Comment.hashCode());
101
		result = prime * result + ((na_Comment == null) ? 0 : na_Comment.hashCode());
125
		result = prime * result + ((partnerStatusComment == null) ? 0 : partnerStatusComment.hashCode());
-
 
126
		result = prime * result + ((partnerStatusType == null) ? 0 : partnerStatusType.hashCode());
-
 
127
		result = prime * result + serviceId;
102
		result = prime * result + serviceId;
128
		return result;
103
		return result;
129
	}
104
	}
130
 
105
 
131
	@Override
106
	@Override
Line 151... Line 126...
151
		if (na_Comment == null) {
126
		if (na_Comment == null) {
152
			if (other.na_Comment != null)
127
			if (other.na_Comment != null)
153
				return false;
128
				return false;
154
		} else if (!na_Comment.equals(other.na_Comment))
129
		} else if (!na_Comment.equals(other.na_Comment))
155
			return false;
130
			return false;
156
		if (partnerStatusComment == null) {
-
 
157
			if (other.partnerStatusComment != null)
-
 
158
				return false;
-
 
159
		} else if (!partnerStatusComment.equals(other.partnerStatusComment))
-
 
160
			return false;
-
 
161
		if (partnerStatusType != other.partnerStatusType)
-
 
162
			return false;
-
 
163
		if (serviceId != other.serviceId)
131
		if (serviceId != other.serviceId)
164
			return false;
132
			return false;
165
		return true;
133
		return true;
166
	}
134
	}
167
 
135
 
168
	@Override
136
	@Override
169
	public String toString() {
137
	public String toString() {
170
		return "PartnerService [id=" + id + ", fofoId=" + fofoId + ", serviceId=" + serviceId + ", applicableType="
138
		return "PartnerService [id=" + id + ", fofoId=" + fofoId + ", serviceId=" + serviceId + ", applicableType="
171
				+ applicableType + ", code=" + code + ", partnerStatusType=" + partnerStatusType + ", na_Comment="
139
				+ applicableType + ", code=" + code + ", na_Comment=" + na_Comment + "]";
172
				+ na_Comment + ", partnerStatusComment=" + partnerStatusComment + "]";
-
 
173
	}
140
	}
174
 
141
	
175
 
142
 
176
	
143
	
177
	
144
	
178
}
145
}