WebsiteBuildConfig.java
2.4 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
// website/entity/WebsiteBuildConfig.java
package com.aigeo.website.entity;
import jakarta.persistence.*;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.annotations.CreationTimestamp;
import org.hibernate.annotations.UpdateTimestamp;
import java.time.LocalDateTime;
@Entity
@Table(name = "ai_website_build_configs")
public class WebsiteBuildConfig {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
@Column(name = "project_id", nullable = false, unique = true)
private Integer projectId;
@Column(name = "website_type")
private String websiteType;
@Column(name = "site_identity")
private String siteIdentity;
@Column(name = "design_preferences")
private String designPreferences;
@Column(name = "sitemap_structure")
private String sitemapStructure;
@Column(name = "updated_at")
private LocalDateTime updatedAt;
// Constructors
public WebsiteBuildConfig() {}
// Getters and Setters
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getProjectId() {
return projectId;
}
public void setProjectId(Integer projectId) {
this.projectId = projectId;
}
public String getWebsiteType() {
return websiteType;
}
public void setWebsiteType(String websiteType) {
this.websiteType = websiteType;
}
public String getSiteIdentity() {
return siteIdentity;
}
public void setSiteIdentity(String siteIdentity) {
this.siteIdentity = siteIdentity;
}
public String getDesignPreferences() {
return designPreferences;
}
public void setDesignPreferences(String designPreferences) {
this.designPreferences = designPreferences;
}
public String getSitemapStructure() {
return sitemapStructure;
}
public void setSitemapStructure(String sitemapStructure) {
this.sitemapStructure = sitemapStructure;
}
public LocalDateTime getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(LocalDateTime updatedAt) {
this.updatedAt = updatedAt;
}
}