package io.loli.sc.server.entity.oauth2; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "application") public class Application { @Id @GeneratedValue(strategy = GenerationType.AUTO) private int id; @Column(name = "app_key") private String appKey; @Column(name = "app_secret") private String appSecret; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getAppKey() { return appKey; } public void setAppKey(String appKey) { this.appKey = appKey; } public String getAppSecret() { return appSecret; } public void setAppSecret(String appSecret) { this.appSecret = appSecret; } }