Subversion Repositories SmartDukaan

Rev

Rev 24099 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24099 amit.gupta 1
package com.spice.profitmandi.dao.entity.user;
2
 
3
import java.time.LocalDateTime;
4
 
5
import javax.persistence.Column;
6
import javax.persistence.Entity;
7
import javax.persistence.Id;
8
import javax.persistence.Table;
9
 
10
@Entity
31860 tejbeer 11
@Table(name = "user.brand_promoter")
24099 amit.gupta 12
public class BrandPromoter {
13
	@Id
14
	@Column(name = "user_id")
15
	private int userId;
16
 
17
	@Column(name = "retailer_id")
18
	private int retailerId;
19
 
20
	@Column(name = "brand")
21
	private String brand;
22
 
23
	@Column(name = "create_timestamp")
24
	private LocalDateTime createTimestamp;
25
 
26
	public int getUserId() {
27
		return userId;
28
	}
29
 
30
	public void setUserId(int userId) {
31
		this.userId = userId;
32
	}
33
 
34
	public int getRetailerId() {
35
		return retailerId;
36
	}
37
 
38
	public void setRetailerId(int retailerId) {
39
		this.retailerId = retailerId;
40
	}
41
 
42
	public String getBrand() {
43
		return brand;
44
	}
45
 
46
	public void setBrand(String brand) {
47
		this.brand = brand;
48
	}
49
 
50
	public LocalDateTime getCreateTimestamp() {
51
		return createTimestamp;
52
	}
53
 
54
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
55
		this.createTimestamp = createTimestamp;
56
	}
57
 
58
	@Override
59
	public String toString() {
60
		return "BrandPromoters [userId=" + userId + ", retailerId=" + retailerId + ", brand=" + brand
61
				+ ", createTimestamp=" + createTimestamp + "]";
62
	}
63
 
64
}