LandingPageProject.java
2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
// landingpage/entity/LandingPageProject.java
package com.aigeo.landingpage.entity;
import jakarta.persistence.*;
import java.time.LocalDateTime;
@Entity
@Table(name = "ai_landing_page_projects")
public class LandingPageProject {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Column(name = "company_id", nullable = false)
private Integer companyId;
@Column(name = "user_id", nullable = false)
private Integer userId;
@Column(nullable = false)
private String name;
@Enumerated(EnumType.STRING)
private LandingPageProjectStatus status;
@Column(name = "last_step_completed")
private Integer lastStepCompleted;
@Column(name = "created_at")
private LocalDateTime createdAt;
@Column(name = "updated_at")
private LocalDateTime updatedAt;
// Constructors
public LandingPageProject() {}
// Getters and Setters
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getCompanyId() {
return companyId;
}
public void setCompanyId(Integer companyId) {
this.companyId = companyId;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public LandingPageProjectStatus getStatus() {
return status;
}
public void setStatus(LandingPageProjectStatus status) {
this.status = status;
}
public Integer getLastStepCompleted() {
return lastStepCompleted;
}
public void setLastStepCompleted(Integer lastStepCompleted) {
this.lastStepCompleted = lastStepCompleted;
}
public LocalDateTime getCreatedAt() {
return createdAt;
}
public void setCreatedAt(LocalDateTime createdAt) {
this.createdAt = createdAt;
}
public LocalDateTime getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(LocalDateTime updatedAt) {
this.updatedAt = updatedAt;
}
public void setViewCount(Integer viewCount) {
}
public void setConversionCount(Integer conversionCount) {
}
}