Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
28420 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.mou_acceptance")
28420 tejbeer 14
public class Mou {
15
	@Id
16
	@Column(name = "id", unique = true, updatable = false)
17
	@GeneratedValue(strategy = GenerationType.IDENTITY)
18
	private int id;
19
 
20
	@Column(name = "fofo_id")
21
	private int fofoId;
22
 
23
	@Column(name = "create_timestamp")
24
	private LocalDateTime createTimestamp;
25
 
28425 tejbeer 26
	@Column(name = "update_timestamp")
27
	private LocalDateTime updateTimestamp;
28
 
29
	public LocalDateTime getUpdateTimestamp() {
30
		return updateTimestamp;
31
	}
32
 
33
	public void setUpdateTimestamp(LocalDateTime updateTimestamp) {
34
		this.updateTimestamp = updateTimestamp;
35
	}
36
 
28420 tejbeer 37
	public int getId() {
38
		return id;
39
	}
40
 
41
	public void setId(int id) {
42
		this.id = id;
43
	}
44
 
45
	public int getFofoId() {
46
		return fofoId;
47
	}
48
 
49
	public void setFofoId(int fofoId) {
50
		this.fofoId = fofoId;
51
	}
52
 
53
	public LocalDateTime getCreateTimestamp() {
54
		return createTimestamp;
55
	}
56
 
57
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
58
		this.createTimestamp = createTimestamp;
59
	}
60
 
61
	@Override
62
	public String toString() {
28425 tejbeer 63
		return "Mou [id=" + id + ", fofoId=" + fofoId + ", createTimestamp=" + createTimestamp + ", updateTimestamp="
64
				+ updateTimestamp + "]";
28420 tejbeer 65
	}
66
 
67
}