Subversion Repositories SmartDukaan

Rev

Rev 28272 | Rev 30044 | Go to most recent revision | Details | Compare with Previous | 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;
30030 manish 30
 
31
	@Column(name = "min_stock_limit")
32
	private float minStockLimit;
28272 tejbeer 33
	@Column(name = "create_timestamp")
34
	private LocalDateTime createdTimestamp;
35
 
36
	@Column(name = "updated_timestamp")
37
	private LocalDateTime updatedTimestamp;
38
 
39
	public String getBrandName() {
40
		return brandName;
41
	}
30030 manish 42
 
43
 
44
 
28272 tejbeer 45
 
30030 manish 46
	public float getMinStockLimit() {
47
		return minStockLimit;
48
	}
49
 
50
 
51
 
52
 
53
	public void setMinStockLimit(float minStockLimit) {
54
		this.minStockLimit = minStockLimit;
55
	}
56
 
57
 
58
 
59
 
28272 tejbeer 60
	public void setBrandName(String brandName) {
61
		this.brandName = brandName;
62
	}
63
 
64
	public int getPartnerId() {
65
		return partnerId;
66
	}
67
 
68
	public void setPartnerId(int partnerId) {
69
		this.partnerId = partnerId;
70
	}
71
 
72
 
73
 
74
 
75
	public float getBrandLimit() {
76
		return brandLimit;
77
	}
78
 
79
	public void setBrandLimit(float brandLimit) {
80
		this.brandLimit = brandLimit;
81
	}
82
 
83
	public LocalDateTime getCreatedTimestamp() {
84
		return createdTimestamp;
85
	}
86
 
87
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
88
		this.createdTimestamp = createdTimestamp;
89
	}
90
 
91
	public LocalDateTime getUpdatedTimestamp() {
92
		return updatedTimestamp;
93
	}
94
 
95
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
96
		this.updatedTimestamp = updatedTimestamp;
97
	}
98
 
99
 
100
 
101
	public int getId() {
102
		return id;
103
	}
104
 
105
	public void setId(int id) {
106
		this.id = id;
107
	}
108
 
109
 
110
 
111
 
112
	public int getIsUpdate() {
113
		return isUpdate;
114
	}
115
 
116
	public void setIsUpdate(int isUpdate) {
117
		this.isUpdate = isUpdate;
118
	}
119
 
30030 manish 120
 
28272 tejbeer 121
	@Override
122
	public String toString() {
30030 manish 123
		return "RetailerBrandsLimit [id=" + id + ", brandName=" + brandName + ", isUpdate=" + isUpdate + ", partnerId="
124
				+ partnerId + ", brandLimit=" + brandLimit + ", minStockLimit=" + minStockLimit + ", createdTimestamp="
125
				+ createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + "]";
28272 tejbeer 126
	}
127
 
30030 manish 128
 
129
 
130
 
28272 tejbeer 131
	public RetailerBrandsLimit() {
132
		super();
133
 
134
	}
135
 
136
 
137
 
138
 
139
 
140
}