diff --git a/src/main/java/com/entity/AdvertiserInfo.java b/src/main/java/com/entity/AdvertiserInfo.java new file mode 100644 index 0000000..b31f127 --- /dev/null +++ b/src/main/java/com/entity/AdvertiserInfo.java @@ -0,0 +1,45 @@ +package com.example.entity; + +import javax.persistence.*; + +@Table(name = "advertiser_info") +public class AdvertiserInfo { + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Long id; + + @Column(name = "name") + private String name; + @Column(name = "content") + private String content; + @Column(name = "time") + private String time; + + public String getName() { + return name; + } + public void setName(String name) { + this.name = name; + } + public String getContent() { + return content; + } + public void setContent(String content) { + this.content = content; + } + public String getTime() { + return time; + } + public void setTime(String time) { + this.time = time; + } + + + public void setId(Long id) { + this.id = id; + } + public Long getId() { + return this.id; + } + +}