Subversion Repositories SmartDukaan

Rev

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