Subversion Repositories SmartDukaan

Rev

Rev 30030 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
28272 tejbeer 1
package com.spice.profitmandi.dao.entity.dtr;
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
13
@Table(name = "dtr.retailer_brands_limit", schema = "dtr")
14
public class RetailerBrandsLimit {
15
 
16
	@Id
17
	@Column(name = "id", unique = false, updatable = false)
18
	@GeneratedValue(strategy = GenerationType.IDENTITY)
19
	private int id;
20
 
21
	@Column(name = "brand_name")
22
	private String brandName;
23
 
24
	@Column(name = "is_update")
25
	private int isUpdate;
26
	@Column(name = "partner_id")
27
	private int partnerId;
28
	@Column(name = "brand_limit")
29
	private float brandLimit;
30
	@Column(name = "create_timestamp")
31
	private LocalDateTime createdTimestamp;
32
 
33
	@Column(name = "updated_timestamp")
34
	private LocalDateTime updatedTimestamp;
35
 
36
	public String getBrandName() {
37
		return brandName;
38
	}
39
 
40
	public void setBrandName(String brandName) {
41
		this.brandName = brandName;
42
	}
43
 
44
	public int getPartnerId() {
45
		return partnerId;
46
	}
47
 
48
	public void setPartnerId(int partnerId) {
49
		this.partnerId = partnerId;
50
	}
51
 
52
 
53
 
54
 
55
	public float getBrandLimit() {
56
		return brandLimit;
57
	}
58
 
59
	public void setBrandLimit(float brandLimit) {
60
		this.brandLimit = brandLimit;
61
	}
62
 
63
	public LocalDateTime getCreatedTimestamp() {
64
		return createdTimestamp;
65
	}
66
 
67
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
68
		this.createdTimestamp = createdTimestamp;
69
	}
70
 
71
	public LocalDateTime getUpdatedTimestamp() {
72
		return updatedTimestamp;
73
	}
74
 
75
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
76
		this.updatedTimestamp = updatedTimestamp;
77
	}
78
 
79
 
80
 
81
	public int getId() {
82
		return id;
83
	}
84
 
85
	public void setId(int id) {
86
		this.id = id;
87
	}
88
 
89
 
90
 
91
 
92
	public int getIsUpdate() {
93
		return isUpdate;
94
	}
95
 
96
	public void setIsUpdate(int isUpdate) {
97
		this.isUpdate = isUpdate;
98
	}
99
 
100
	@Override
101
	public String toString() {
102
		return "RetailerBrandsLimit [id=" + id + ", brandName=" + brandName + ", partnerId=" + partnerId
103
				+ ", brandLimit=" + brandLimit + ", createdTimestamp=" + createdTimestamp + ", updatedTimestamp="
104
				+ updatedTimestamp + "]";
105
	}
106
 
107
	public RetailerBrandsLimit() {
108
		super();
109
 
110
	}
111
 
112
 
113
 
114
 
115
 
116
}