Subversion Repositories SmartDukaan

Rev

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

Rev 31493 Rev 31494
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.catalog;
1
package com.spice.profitmandi.dao.entity.catalog;
2
 
2
 
3
import javax.persistence.Column;
3
import javax.persistence.Column;
4
import javax.persistence.Entity;
4
import javax.persistence.Entity;
-
 
5
import javax.persistence.GeneratedValue;
-
 
6
import javax.persistence.GenerationType;
5
import javax.persistence.Id;
7
import javax.persistence.Id;
6
import javax.persistence.Table;
8
import javax.persistence.Table;
7
 
9
 
8
@Entity
10
@Entity
9
@Table(name = "catalog.brand_category", schema = "catalog")
11
@Table(name = "catalog.brand_category", schema = "catalog")
-
 
12
 
10
public class BrandCategory {
13
public class BrandCategory {
11
 
14
 
12
	@Id
15
	@Id
13
	@Column(name = "id", columnDefinition = "int(11)")
16
	@Column(name = "id", columnDefinition = "int(11)")
-
 
17
	@GeneratedValue(strategy = GenerationType.IDENTITY)
14
	private int id;
18
	private int id;
15
 
19
 
16
	@Column(name = "brand_id")
20
	@Column(name = "brand_id")
17
	private int brandId;
21
	private int brandId;
18
 
22