Subversion Repositories SmartDukaan

Rev

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

Rev 25899 Rev 25916
Line 8... Line 8...
8
import javax.persistence.Enumerated;
8
import javax.persistence.Enumerated;
9
import javax.persistence.GeneratedValue;
9
import javax.persistence.GeneratedValue;
10
import javax.persistence.GenerationType;
10
import javax.persistence.GenerationType;
11
import javax.persistence.Id;
11
import javax.persistence.Id;
12
import javax.persistence.Table;
12
import javax.persistence.Table;
-
 
13
import javax.persistence.Transient;
13
 
14
 
14
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
15
import com.spice.profitmandi.dao.enumuration.dtr.LeadStatus;
15
 
16
 
16
@Entity
17
@Entity
17
@Table(name = "user.lead", schema = "user")
18
@Table(name = "user.lead", schema = "user")
Line 54... Line 55...
54
 
55
 
55
	public int getAuthId() {
56
	public int getAuthId() {
56
		return authId;
57
		return authId;
57
	}
58
	}
58
 
59
 
-
 
60
	@Transient
-
 
61
	private LeadActivity leadActivity;
-
 
62
	
-
 
63
	public LeadActivity getLeadActivity() {
-
 
64
		return leadActivity;
-
 
65
	}
-
 
66
 
-
 
67
	public void setLeadActivity(LeadActivity leadActivity) {
-
 
68
		this.leadActivity = leadActivity;
-
 
69
	}
-
 
70
 
59
	public void setAuthId(int authId) {
71
	public void setAuthId(int authId) {
60
		this.authId = authId;
72
		this.authId = authId;
61
	}
73
	}
62
 
74
 
63
	@Column(name = "address")
75
	@Column(name = "address")
Line 152... Line 164...
152
	}
164
	}
153
 
165
 
154
	@Override
166
	@Override
155
	public String toString() {
167
	public String toString() {
156
		return "Lead [id=" + id + ", firstName=" + firstName + ", lastName=" + lastName + ", leadMobile=" + leadMobile
168
		return "Lead [id=" + id + ", firstName=" + firstName + ", lastName=" + lastName + ", leadMobile=" + leadMobile
157
				+ ", createdBy=" + createdBy + ", authId=" + authId + ", address=" + address + ", city=" + city
169
				+ ", createdBy=" + createdBy + ", authId=" + authId + ", leadActivity=" + leadActivity + ", address="
158
				+ ", state=" + state + ", status=" + status + ", createdTimestamp=" + createdTimestamp
170
				+ address + ", city=" + city + ", state=" + state + ", status=" + status + ", createdTimestamp="
159
				+ ", updatedTimestamp=" + updatedTimestamp + "]";
171
				+ createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + "]";
160
	}
172
	}
161
 
173
 
162
}
174
}