Subversion Repositories SmartDukaan

Rev

Rev 30031 | 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.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;
27
 
28
	@Column(name = "updated_time_stamp")
29
	private LocalDateTime updatedTimestamp;
30
 
31
	public int getId() {
32
		return id;
33
	}
34
 
35
	public void setId(int id) {
36
		this.id = id;
37
	}
38
 
39
	public String getBrandName() {
40
		return brandName;
41
	}
42
 
43
	public void setBrandName(String brandName) {
44
		this.brandName = brandName;
45
	}
46
 
47
	public float getBrandLimit() {
48
		return brandLimit;
49
	}
50
 
51
	public void setBrandLimit(float brandLimit) {
52
		this.brandLimit = brandLimit;
53
	}
54
 
55
	public LocalDateTime getCreatedTimestamp() {
56
		return createdTimestamp;
57
	}
58
 
59
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
60
		this.createdTimestamp = createdTimestamp;
61
	}
62
 
63
	public LocalDateTime getUpdatedTimestamp() {
64
		return updatedTimestamp;
65
	}
66
 
67
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
68
		this.updatedTimestamp = updatedTimestamp;
69
	}
70
 
71
	@Override
72
	public String toString() {
73
		return "BrandLimit [id=" + id + ", brandName=" + brandName + ", brandLimit=" + brandLimit
74
				+ ", createdTimestamp=" + createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + "]";
75
	}
76
 
77
	public BrandLimit() {
78
		super();
79
		// TODO Auto-generated constructor stub
80
	}
81
 
82
 
83
 
84
 
85
}