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.brands_limit", schema = "dtr")
14
public class BrandLimit {
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
	@Column(name = "brand_limit")
24
	private float brandLimit;
25
	@Column(name = "created_time_stamp")
26
	private LocalDateTime createdTimestamp;
30031 manish 27
 
28
	@Column(name = "stock_limit")
29
	private float stockLimit;
28272 tejbeer 30
 
31
	@Column(name = "updated_time_stamp")
32
	private LocalDateTime updatedTimestamp;
33
 
34
	public int getId() {
35
		return id;
36
	}
37
 
38
	public void setId(int id) {
39
		this.id = id;
40
	}
30031 manish 41
 
42
	public float getStockLimit() {
43
		return stockLimit;
44
	}
28272 tejbeer 45
 
30031 manish 46
	public void setStockLimit(float stockLimit) {
47
		this.stockLimit = stockLimit;
48
	}
49
 
28272 tejbeer 50
	public String getBrandName() {
51
		return brandName;
52
	}
53
 
54
	public void setBrandName(String brandName) {
55
		this.brandName = brandName;
56
	}
57
 
58
	public float getBrandLimit() {
59
		return brandLimit;
60
	}
61
 
62
	public void setBrandLimit(float brandLimit) {
63
		this.brandLimit = brandLimit;
64
	}
65
 
66
	public LocalDateTime getCreatedTimestamp() {
67
		return createdTimestamp;
68
	}
69
 
70
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
71
		this.createdTimestamp = createdTimestamp;
72
	}
73
 
74
	public LocalDateTime getUpdatedTimestamp() {
75
		return updatedTimestamp;
76
	}
77
 
78
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
79
		this.updatedTimestamp = updatedTimestamp;
80
	}
81
 
30031 manish 82
 
83
 
28272 tejbeer 84
	@Override
85
	public String toString() {
86
		return "BrandLimit [id=" + id + ", brandName=" + brandName + ", brandLimit=" + brandLimit
30031 manish 87
				+ ", createdTimestamp=" + createdTimestamp + ", stockLimit=" + stockLimit + ", updatedTimestamp="
88
				+ updatedTimestamp + "]";
28272 tejbeer 89
	}
90
 
91
	public BrandLimit() {
92
		super();
93
		// TODO Auto-generated constructor stub
94
	}
95
 
96
 
97
 
98
 
99
}