Subversion Repositories SmartDukaan

Rev

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

Rev 26776 Rev 26778
Line 15... Line 15...
15
import javax.persistence.JoinColumn;
15
import javax.persistence.JoinColumn;
16
import javax.persistence.NamedQueries;
16
import javax.persistence.NamedQueries;
17
import javax.persistence.NamedQuery;
17
import javax.persistence.NamedQuery;
18
import javax.persistence.OneToMany;
18
import javax.persistence.OneToMany;
19
import javax.persistence.Table;
19
import javax.persistence.Table;
-
 
20
import javax.persistence.Transient;
20
 
21
 
21
import com.fasterxml.jackson.annotation.JsonIgnore;
22
import com.fasterxml.jackson.annotation.JsonIgnore;
22
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
23
import com.spice.profitmandi.dao.convertor.LocalDateTimeAttributeConverter;
23
 
24
 
24
/**
25
/**
25
 * This class basically contains  details
26
 * This class basically contains  details
26
 * 
27
 * 
27
 * @author ashikali
28
 * @author ashikali
28
 *
29
 *
29
 */
30
 */
-
 
31
/**
-
 
32
 * @author amit
-
 
33
 *
-
 
34
 */
30
@Entity
35
@Entity
31
@Table(name="fofo.customer", schema = "fofo")
36
@Table(name="fofo.customer", schema = "fofo")
32
@NamedQueries({
37
@NamedQueries({
33
	@NamedQuery(name="Customer.selectById",query="select c from Customer c where c.id= :id")
38
	@NamedQuery(name="Customer.selectById",query="select c from Customer c where c.id= :id")
34
})
39
})
Line 58... Line 63...
58
	
63
	
59
	@Column(name="password")
64
	@Column(name="password")
60
	@JsonIgnore
65
	@JsonIgnore
61
	private String password;
66
	private String password;
62
	
67
	
-
 
68
 
-
 
69
	@Transient
-
 
70
	private boolean passwordExist;
63
	
71
	
-
 
72
	public boolean isPasswordExist() {
-
 
73
		return passwordExist;
64
	
74
	}
-
 
75
	public void setPasswordExist(boolean passwordExist) {
-
 
76
		this.passwordExist = passwordExist;
-
 
77
	}
65
	public String getPassword() {
78
	public String getPassword() {
66
		return password;
79
		return password;
67
	}
80
	}
68
	public void setPassword(String password) {
81
	public void setPassword(String password) {
69
		this.password = password;
82
		this.password = password;