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.LocalDate;
4
import java.time.LocalDateTime;
5
import java.time.YearMonth;
6
 
7
import javax.persistence.Column;
8
import javax.persistence.Entity;
9
import javax.persistence.GeneratedValue;
10
import javax.persistence.GenerationType;
11
import javax.persistence.Id;
12
import javax.persistence.Table;
13
 
14
@Entity
31860 tejbeer 15
@Table(name = "fofo.monthly_planned")
25721 tejbeer 16
public class MonthlyPlanned {
17
 
18
	@Id
19
	@Column(name = "id", unique = true, updatable = false)
20
	@GeneratedValue(strategy = GenerationType.IDENTITY)
21
	private int id;
22
 
23
	@Column(name = "fofo_id")
24
	private int fofoId;
25
 
26
	@Column(name = "freeze_timestamp")
27
	private LocalDateTime freezeTimestamp;
28
 
29
	@Column(name = "yearMonth")
30
	private LocalDate yearMonth;
31
 
32
	public LocalDate getYearMonth() {
33
		return yearMonth;
34
	}
35
 
36
	public void setYearMonth(LocalDate yearMonth) {
37
		this.yearMonth = yearMonth;
38
	}
39
 
40
	public int getId() {
41
		return id;
42
	}
43
 
44
	public void setId(int id) {
45
		this.id = id;
46
	}
47
 
48
	public int getFofoId() {
49
		return fofoId;
50
	}
51
 
52
	public void setFofoId(int fofoId) {
53
		this.fofoId = fofoId;
54
	}
55
 
56
	public LocalDateTime getFreezeTimestamp() {
57
		return freezeTimestamp;
58
	}
59
 
60
	public void setFreezeTimestamp(LocalDateTime freezeTimestamp) {
61
		this.freezeTimestamp = freezeTimestamp;
62
	}
63
 
64
	@Override
65
	public String toString() {
66
		return "MonthlyPlanned [id=" + id + ", fofoId=" + fofoId + ", freezeTimestamp=" + freezeTimestamp
67
				+ ", yearMonth=" + yearMonth + "]";
68
	}
69
 
70
}