Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
31370 tejbeer 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.GeneratedValue;
8
import javax.persistence.GenerationType;
9
import javax.persistence.Id;
10
import javax.persistence.Table;
11
 
12
@Entity
31860 tejbeer 13
@Table(name = "user.lead_brand")
31370 tejbeer 14
public class LeadBrand {
15
 
16
	@Id
17
	@Column(name = "id", unique = true, updatable = false)
18
	@GeneratedValue(strategy = GenerationType.IDENTITY)
19
	private int id;
20
 
21
	@Column(name = "lead_id")
22
	private int leadId;
23
 
24
	@Column(name = "lead_detail_id")
25
	private int leadDetailId;
26
 
27
	@Column(name = "brand")
28
	private String brand;
29
 
30
	@Column(name = "value")
31
	private int value;
32
 
33
	@Column(name = "created_timestamp")
34
	private LocalDateTime createdTimestamp;
35
 
36
	public int getId() {
37
		return id;
38
	}
39
 
40
	public void setId(int id) {
41
		this.id = id;
42
	}
43
 
44
	public int getLeadId() {
45
		return leadId;
46
	}
47
 
48
	public void setLeadId(int leadId) {
49
		this.leadId = leadId;
50
	}
51
 
52
	public int getLeadDetailId() {
53
		return leadDetailId;
54
	}
55
 
56
	public void setLeadDetailId(int leadDetailId) {
57
		this.leadDetailId = leadDetailId;
58
	}
59
 
60
	public String getBrand() {
61
		return brand;
62
	}
63
 
64
	public void setBrand(String brand) {
65
		this.brand = brand;
66
	}
67
 
68
	public int getValue() {
69
		return value;
70
	}
71
 
72
	public void setValue(int value) {
73
		this.value = value;
74
	}
75
 
76
	public LocalDateTime getCreatedTimestamp() {
77
		return createdTimestamp;
78
	}
79
 
80
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
81
		this.createdTimestamp = createdTimestamp;
82
	}
83
 
84
	@Override
85
	public String toString() {
86
		return "LeadBrand [id=" + id + ", leadId=" + leadId + ", leadDetailId=" + leadDetailId + ", brand=" + brand
87
				+ ", value=" + value + ", createdTimestamp=" + createdTimestamp + "]";
88
	}
89
 
90
}