Subversion Repositories SmartDukaan

Rev

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

Rev 31492 Rev 31507
Line 6... Line 6...
6
import javax.persistence.Entity;
6
import javax.persistence.Entity;
7
import javax.persistence.GeneratedValue;
7
import javax.persistence.GeneratedValue;
8
import javax.persistence.GenerationType;
8
import javax.persistence.GenerationType;
9
import javax.persistence.Id;
9
import javax.persistence.Id;
10
import javax.persistence.Table;
10
import javax.persistence.Table;
-
 
11
import javax.persistence.Transient;
11
 
12
 
12
@Entity
13
@Entity
13
@Table(name = "catalog.brand", schema = "catalog")
14
@Table(name = "catalog.brand", schema = "catalog")
14
public class BrandCatalog {
15
public class BrandCatalog {
15
 
16
 
Line 25... Line 26...
25
	private String logoUrl;
26
	private String logoUrl;
26
 
27
 
27
	@Column(name = "logo_url_transparent")
28
	@Column(name = "logo_url_transparent")
28
	private String logoUrlTransparent;
29
	private String logoUrlTransparent;
29
 
30
 
-
 
31
	@Transient
-
 
32
	public BrandCategory brandCategory;
-
 
33
 
30
	public int getId() {
34
	public int getId() {
31
		return id;
35
		return id;
32
	}
36
	}
33
 
37
 
34
	public void setId(int id) {
38
	public void setId(int id) {
Line 37... Line 41...
37
 
41
 
38
	public String getName() {
42
	public String getName() {
39
		return name;
43
		return name;
40
	}
44
	}
41
 
45
 
-
 
46
	public BrandCategory getBrandCategory() {
-
 
47
		return brandCategory;
-
 
48
	}
-
 
49
 
-
 
50
	public void setBrandCategory(BrandCategory brandCategory) {
-
 
51
		this.brandCategory = brandCategory;
-
 
52
	}
-
 
53
 
42
	public void setName(String name) {
54
	public void setName(String name) {
43
		this.name = name;
55
		this.name = name;
44
	}
56
	}
45
 
57
 
46
	public String getLogoUrl() {
58
	public String getLogoUrl() {