Subversion Repositories SmartDukaan

Rev

Rev 26031 | Go to most recent revision | Details | 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
 
43
	public int getId() {
44
		return id;
45
	}
46
 
47
	public void setId(int id) {
48
		this.id = id;
49
	}
50
 
51
	public int getItemId() {
52
		return itemId;
53
	}
54
 
55
	public void setItemId(int itemId) {
56
		this.itemId = itemId;
57
	}
58
 
59
	public int getOrderId() {
60
		return orderId;
61
	}
62
 
63
	public void setOrderId(int orderId) {
64
		this.orderId = orderId;
65
	}
66
 
67
	public Boolean getCancellation() {
68
		return cancellation;
69
	}
70
 
71
	public void setCancellation(Boolean cancellation) {
72
		this.cancellation = cancellation;
73
	}
74
 
75
	public LocalDateTime getCreatedTimestamp() {
76
		return createdTimestamp;
77
	}
78
 
79
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
80
		this.createdTimestamp = createdTimestamp;
81
	}
82
 
83
	@Override
84
	public String toString() {
85
		return "NotifyCancel [id=" + id + ", itemId=" + itemId + ", orderId=" + orderId + ", fofoId=" + fofoId
86
				+ ", cancellation=" + cancellation + ", createdTimestamp=" + createdTimestamp + "]";
87
	}
88
 
89
}