Subversion Repositories SmartDukaan

Rev

Rev 26023 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
26023 tejbeer 1
package com.spice.profitmandi.dao.entity.transaction;
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 = "transaction.notify_cancel", schema = "transaction")
14
public class NotifyCancel {
15
	@Id
16
	@Column(name = "id", unique = true, updatable = false)
17
	@GeneratedValue(strategy = GenerationType.IDENTITY)
18
	private int id;
19
 
20
	@Column(name = "item_id")
21
	private int itemId;
22
 
23
	@Column(name = "order_id")
24
	private int orderId;
25
 
26
	@Column(name = "fofo_id")
27
	private int fofoId;
28
 
29
	public int getFofoId() {
30
		return fofoId;
31
	}
32
 
33
	public void setFofoId(int fofoId) {
34
		this.fofoId = fofoId;
35
	}
36
 
37
	@Column(name = "cancellation")
38
	private Boolean cancellation;
39
 
40
	@Column(name = "created_timestamp")
41
	private LocalDateTime createdTimestamp;
42
 
26031 tejbeer 43
	@Column(name = "updated_timestamp")
44
	private LocalDateTime updatedTimestamp;
45
 
26023 tejbeer 46
	public int getId() {
47
		return id;
48
	}
49
 
26031 tejbeer 50
	public LocalDateTime getUpdatedTimestamp() {
51
		return updatedTimestamp;
52
	}
53
 
54
	public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {
55
		this.updatedTimestamp = updatedTimestamp;
56
	}
57
 
26023 tejbeer 58
	public void setId(int id) {
59
		this.id = id;
60
	}
61
 
62
	public int getItemId() {
63
		return itemId;
64
	}
65
 
66
	public void setItemId(int itemId) {
67
		this.itemId = itemId;
68
	}
69
 
70
	public int getOrderId() {
71
		return orderId;
72
	}
73
 
74
	public void setOrderId(int orderId) {
75
		this.orderId = orderId;
76
	}
77
 
78
	public Boolean getCancellation() {
79
		return cancellation;
80
	}
81
 
82
	public void setCancellation(Boolean cancellation) {
83
		this.cancellation = cancellation;
84
	}
85
 
86
	public LocalDateTime getCreatedTimestamp() {
87
		return createdTimestamp;
88
	}
89
 
90
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
91
		this.createdTimestamp = createdTimestamp;
92
	}
93
 
94
	@Override
95
	public String toString() {
96
		return "NotifyCancel [id=" + id + ", itemId=" + itemId + ", orderId=" + orderId + ", fofoId=" + fofoId
26031 tejbeer 97
				+ ", cancellation=" + cancellation + ", createdTimestamp=" + createdTimestamp + ", updatedTimestamp="
98
				+ updatedTimestamp + "]";
26023 tejbeer 99
	}
100
 
101
}