ADD file via upload

master
p5j9vn3t2 2 years ago
parent c02fff4c1c
commit 15848e6bbc

@ -0,0 +1,37 @@
package com.example.entity;
import javax.persistence.*;
@Table(name = "news_info")
public class NewsInfo {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(name = "name")
private String name;
@Column(name = "content")
private String content;
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 void setId(Long id) {
this.id = id;
}
public Long getId() {
return this.id;
}
}
Loading…
Cancel
Save