Subversion Repositories SmartDukaan

Rev

Rev 25721 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
25721 tejbeer 1
package com.spice.profitmandi.dao.entity.fofo;
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 = "fofo.planned_details")
25721 tejbeer 14
public class PlannedDetail {
15
	@Id
16
	@Column(name = "id", unique = true, updatable = false)
17
	@GeneratedValue(strategy = GenerationType.IDENTITY)
18
	private int id;
19
 
20
	@Column(name = "monthly_planned_id")
21
	private int plannedId;
22
 
23
	@Column(name = "catalog_id")
24
	private int catalogId;
25
 
26
	@Column(name = "quantity")
27
	private Integer quantity;
28
 
29
	@Column(name = "updated_timestamp")
30
	private LocalDateTime updatedTimestamp;
31
 
32
	public int getId() {
33
		return id;
34
	}
35
 
36
	public void setId(int id) {
37
		this.id = id;
38
	}
39
 
40
	public int getPlannedId() {
41
		return plannedId;
42
	}
43
 
44
	public void setPlannedId(int plannedId) {
45
		this.plannedId = plannedId;
46
	}
47
 
48
	public int getCatalogId() {
49
		return catalogId;
50
	}
51
 
52
	public void setCatalogId(int catalogId) {
53
		this.catalogId = catalogId;
54
	}
55
 
56
	public int getQuantity() {
57
		return quantity;
58
	}
59
 
60
	public void setQuantity(int quantity) {
61
		this.quantity = quantity;
62
	}
63
 
64
	public LocalDateTime getUpdatedTimestamp() {
65
		return updatedTimestamp;
66
	}
67
 
68
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
69
		this.updatedTimestamp = updatedTimestamp;
70
	}
71
 
72
	@Override
73
	public String toString() {
74
		return "PlannedDetail [id=" + id + ", plannedId=" + plannedId + ", catalogId=" + catalogId + ", quantity="
75
				+ quantity + ", updatedTimestamp=" + updatedTimestamp + "]";
76
	}
77
 
78
}