Subversion Repositories SmartDukaan

Rev

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
31860 tejbeer 13
@Table(name = "dtr.retailer_brands_limit")
28272 tejbeer 14
public class RetailerBrandsLimit {
15
 
16
	@Id
17
	@Column(name = "id", unique = false, updatable = false)
18
	@GeneratedValue(strategy = GenerationType.IDENTITY)
19
	private int id;
30044 tejbeer 20
 
28272 tejbeer 21
	@Column(name = "brand_name")
22
	private String brandName;
30044 tejbeer 23
 
28272 tejbeer 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;
30044 tejbeer 30
 
30030 manish 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
	public void setMinStockLimit(float minStockLimit) {
51
		this.minStockLimit = minStockLimit;
52
	}
53
 
28272 tejbeer 54
	public void setBrandName(String brandName) {
55
		this.brandName = brandName;
56
	}
57
 
58
	public int getPartnerId() {
59
		return partnerId;
60
	}
61
 
62
	public void setPartnerId(int partnerId) {
63
		this.partnerId = partnerId;
64
	}
65
 
66
	public float getBrandLimit() {
67
		return brandLimit;
68
	}
69
 
70
	public void setBrandLimit(float brandLimit) {
71
		this.brandLimit = brandLimit;
72
	}
73
 
74
	public LocalDateTime getCreatedTimestamp() {
75
		return createdTimestamp;
76
	}
77
 
78
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
79
		this.createdTimestamp = createdTimestamp;
80
	}
81
 
82
	public LocalDateTime getUpdatedTimestamp() {
83
		return updatedTimestamp;
84
	}
85
 
86
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
87
		this.updatedTimestamp = updatedTimestamp;
88
	}
89
 
90
	public int getId() {
91
		return id;
92
	}
93
 
94
	public void setId(int id) {
95
		this.id = id;
96
	}
97
 
98
	public int getIsUpdate() {
99
		return isUpdate;
100
	}
101
 
102
	public void setIsUpdate(int isUpdate) {
103
		this.isUpdate = isUpdate;
104
	}
105
 
106
	@Override
107
	public String toString() {
30030 manish 108
		return "RetailerBrandsLimit [id=" + id + ", brandName=" + brandName + ", isUpdate=" + isUpdate + ", partnerId="
109
				+ partnerId + ", brandLimit=" + brandLimit + ", minStockLimit=" + minStockLimit + ", createdTimestamp="
110
				+ createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + "]";
28272 tejbeer 111
	}
112
 
113
	public RetailerBrandsLimit() {
114
		super();
30044 tejbeer 115
 
28272 tejbeer 116
	}
117
 
118
}