Subversion Repositories SmartDukaan

Rev

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

Rev 24407 Rev 31170
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.cs;
1
package com.spice.profitmandi.dao.entity.cs;
2
 
2
 
-
 
3
import javax.persistence.*;
3
import java.io.Serializable;
4
import java.io.Serializable;
4
 
5
 
5
import javax.persistence.Column;
-
 
6
import javax.persistence.Entity;
-
 
7
import javax.persistence.GeneratedValue;
-
 
8
import javax.persistence.GenerationType;
-
 
9
import javax.persistence.Id;
-
 
10
import javax.persistence.Table;
-
 
11
 
-
 
12
/**
6
/**
13
 * This class basically contains api details
7
 * This class basically contains api details
14
 * 
8
 * 
15
 * @author Govind
9
 * @author Govind
16
 *
10
 *
Line 27... Line 21...
27
	@GeneratedValue(strategy = GenerationType.IDENTITY)
21
	@GeneratedValue(strategy = GenerationType.IDENTITY)
28
	private int id;
22
	private int id;
29
	
23
	
30
	@Column(name="name", unique = true)
24
	@Column(name="name", unique = true)
31
	private String name;
25
	private String name;
-
 
26
 
32
	
27
 
33
	@Column(name = "description")
28
	@Column(name = "description")
34
	private String description;
29
	private String description;
35
 
30
 
36
	@Override
31
	@Override
37
	public String toString() {
32
	public String toString() {