Subversion Repositories SmartDukaan

Rev

Rev 25649 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
25300 tejbeer 1
package com.spice.profitmandi.dao.entity.dtr;
2
 
3
import java.io.Serializable;
4
import java.time.LocalDateTime;
5
 
6
import javax.persistence.Column;
7
import javax.persistence.Entity;
8
import javax.persistence.GeneratedValue;
9
import javax.persistence.GenerationType;
10
import javax.persistence.Id;
11
import javax.persistence.Table;
12
 
13
import com.spice.profitmandi.dao.model.SimpleCampaignParams;
14
 
15
@SuppressWarnings("serial")
16
@Entity
17
@Table(name = "dtr.notification_campaign", schema = "dtr")
18
public class NotificationCampaign implements Serializable {
19
 
20
	@Id
21
	@Column(name = "id", unique = true, updatable = false)
22
	@GeneratedValue(strategy = GenerationType.IDENTITY)
23
	private int id;
24
 
25
	@Column(name = "name")
26
	private String name;
27
 
28
	@Column(name = "implementation_type")
29
	private String implementationType;
30
 
31
	@Column(name = "implementation_param")
32
	private String implementationParams;
33
 
34
	@Column(name = "created_timestamp")
35
	private LocalDateTime createdTimestamp;
36
 
37
	public LocalDateTime getCreatedTimestamp() {
38
		return createdTimestamp;
39
	}
40
 
41
	public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
42
		this.createdTimestamp = createdTimestamp;
43
	}
44
 
45
	public int getId() {
46
		return id;
47
	}
48
 
49
	public void setId(int id) {
50
		this.id = id;
51
	}
52
 
53
	public String getName() {
54
		return name;
55
	}
56
 
57
	public void setName(String name) {
58
		this.name = name;
59
	}
60
 
61
	public String getImplementationType() {
62
		return implementationType;
63
	}
64
 
65
	public void setImplementationType(String implementationType) {
66
		this.implementationType = implementationType;
67
	}
68
 
69
	public String getImplementationParams() {
70
		return implementationParams;
71
	}
72
 
73
	public void setImplementationParams(String implementationParams) {
74
		this.implementationParams = implementationParams;
75
	}
76
 
77
	@Override
78
	public String toString() {
79
		return "NotificationCampaign [id=" + id + ", name=" + name + ", implementationType=" + implementationType
80
				+ ", implementationParams=" + implementationParams + ", createdTimestamp=" + createdTimestamp + "]";
81
	}
82
 
83
}