📄 medal.java
字号:
package tarena.entity;
/**
* Medal entity.
*
* @author MyEclipse Persistence Tools
*/
public class Medal implements java.io.Serializable {
// Fields
private Integer id;
private String medalname;
private String photo;
private String description;
// Constructors
/** default constructor */
public Medal() {
}
/** minimal constructor */
public Medal(String medalname, String photo) {
this.medalname = medalname;
this.photo = photo;
}
/** full constructor */
public Medal(String medalname, String photo, String description) {
this.medalname = medalname;
this.photo = photo;
this.description = description;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getMedalname() {
return this.medalname;
}
public void setMedalname(String medalname) {
this.medalname = medalname;
}
public String getPhoto() {
return this.photo;
}
public void setPhoto(String photo) {
this.photo = photo;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -