Subversion Repositories SmartDukaan

Rev

Rev 28425 | Go to most recent revision | Details | 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
13
@Table(name = "fofo.mou_acceptance", schema = "fofo")
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
 
26
	public int getId() {
27
		return id;
28
	}
29
 
30
	public void setId(int id) {
31
		this.id = id;
32
	}
33
 
34
	public int getFofoId() {
35
		return fofoId;
36
	}
37
 
38
	public void setFofoId(int fofoId) {
39
		this.fofoId = fofoId;
40
	}
41
 
42
	public LocalDateTime getCreateTimestamp() {
43
		return createTimestamp;
44
	}
45
 
46
	public void setCreateTimestamp(LocalDateTime createTimestamp) {
47
		this.createTimestamp = createTimestamp;
48
	}
49
 
50
	@Override
51
	public String toString() {
52
		return "Mou [id=" + id + ", fofoId=" + fofoId + ", createTimestamp=" + createTimestamp + "]";
53
	}
54
 
55
}