Subversion Repositories SmartDukaan

Rev

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

Rev 22352 Rev 23222
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.user;
1
package com.spice.profitmandi.dao.entity.user;
2
 
2
 
-
 
3
import java.io.Serializable;
3
import java.time.LocalDateTime;
4
import java.time.LocalDateTime;
4
 
5
 
5
import javax.persistence.Column;
6
import javax.persistence.Column;
6
import javax.persistence.Entity;
7
import javax.persistence.Entity;
7
import javax.persistence.GeneratedValue;
8
import javax.persistence.GeneratedValue;
Line 13... Line 14...
13
 * This class basically contains saholic user details
14
 * This class basically contains saholic user details
14
 * 
15
 * 
15
 * @author ashikali
16
 * @author ashikali
16
 *
17
 *
17
 */
18
 */
18
@Entity
19
@Entity(name = "userUser")
19
@Table(name="user.user", schema = "user")
20
@Table(name="user.user", schema = "user")
20
 
21
 
21
public class User {
22
public class User implements Serializable{
22
	
23
 
-
 
24
	private static final long serialVersionUID = 1L;
-
 
25
 
23
	@Id
26
	@Id
24
	@Column(name="id", unique=true, updatable=false)
27
	@Column(name="id", unique=true, updatable=false)
25
	@GeneratedValue(strategy = GenerationType.IDENTITY)
28
	@GeneratedValue(strategy = GenerationType.IDENTITY)
26
	private int id;
29
	private int id;
27
	
30