本地代码提交
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package com.yaoyuan.jiscuss.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="setting")
|
||||
public class Setting implements Serializable{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Integer id;
|
||||
|
||||
@Column(name="setting_key")
|
||||
private String settingKey;
|
||||
|
||||
@Column(name="setting_value")
|
||||
private String settingValue;
|
||||
}
|
||||
Reference in New Issue
Block a user