Subversion Repositories SmartDukaan

Rev

Rev 21596 | Rev 22009 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
21720 ashik.ali 1
package com.spice.profitmandi.dao.entity.dtr;
21545 ashik.ali 2
 
3
import java.time.LocalDateTime;
4
 
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
@Entity
21596 ashik.ali 13
@Table(name="dtr.clicks", schema = "dtr")
21545 ashik.ali 14
public class Click {
15
	@Id
16
	@Column(name="id", unique=true, updatable=false)
17
	@GeneratedValue(strategy = GenerationType.IDENTITY)
18
	private int id;
19
 
20
	@Column(name="user_id")
21
	private int userId;
22
 
23
	@Column(name="store_product_id")
24
	private int storeProductId;
25
 
26
	private String tag;
27
 
28
	private String url;
29
 
30
	private float price;
31
 
32
	private String extras;
33
 
34
	@Column(name="product_name")
35
	private String productName;
36
 
37
	private String brand;
38
 
39
	@Column(name="category_id")
40
	private String categoryId;
41
 
42
	private LocalDateTime created;
43
 
44
	public int getId() {
45
		return id;
46
	}
47
 
48
	public void setId(int id) {
49
		this.id = id;
50
	}
51
 
52
	public int getUserId() {
53
		return userId;
54
	}
55
 
56
	public void setUserId(int userId) {
57
		this.userId = userId;
58
	}
59
 
60
	public String getTag() {
61
		return tag;
62
	}
63
 
64
	public void setTag(String tag) {
65
		this.tag = tag;
66
	}
67
 
68
	public String getUrl() {
69
		return url;
70
	}
71
 
72
	public void setUrl(String url) {
73
		this.url = url;
74
	}
75
 
76
	public float getPrice() {
77
		return price;
78
	}
79
 
80
	public void setPrice(float price) {
81
		this.price = price;
82
	}
83
 
84
	public String getExtras() {
85
		return extras;
86
	}
87
 
88
	public void setExtras(String extras) {
89
		this.extras = extras;
90
	}
91
 
92
	public String getProductName() {
93
		return productName;
94
	}
95
 
96
	public void setProductName(String productName) {
97
		this.productName = productName;
98
	}
99
 
100
	public String getBrand() {
101
		return brand;
102
	}
103
 
104
	public void setBrand(String brand) {
105
		this.brand = brand;
106
	}
107
 
108
	public String getCategoryId() {
109
		return categoryId;
110
	}
111
 
112
	public void setCategoryId(String categoryId) {
113
		this.categoryId = categoryId;
114
	}
115
 
116
	public LocalDateTime getCreated() {
117
		return created;
118
	}
119
 
120
	public void setCreated(LocalDateTime created) {
121
		this.created = created;
122
	}
123
 
124
	public int getStoreProdcutId() {
125
		return storeProductId;
126
	}
127
 
128
	public void setStoreProductId(int storeProductId) {
129
		this.storeProductId = storeProductId;
130
	}
131
 
132
	@Override
133
	public String toString() {
134
		return "Click [id=" + id + ", userId=" + userId + ", storeProductId=" + storeProductId + ", tag=" + tag
135
				+ ", url=" + url + ", price=" + price + ", extras=" + extras + ", productName=" + productName
136
				+ ", brand=" + brand + ", categoryId=" + categoryId + ", created=" + created + "]";
137
	}
138
 
139
 
140
 
141
}