📄 levels.java
字号:
package com.shop.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Levels entity.
*
* @author MyEclipse Persistence Tools
*/
public class Levels implements java.io.Serializable {
// Fields
private Integer id;
private String levelname;
private String photo;
private String description;
private Set users = new HashSet(0);
// Constructors
/** default constructor */
public Levels() {
}
/** minimal constructor */
public Levels(Integer id, String levelname, String photo) {
this.id = id;
this.levelname = levelname;
this.photo = photo;
}
/** full constructor */
public Levels(Integer id, String levelname, String photo,
String description, Set users) {
this.id = id;
this.levelname = levelname;
this.photo = photo;
this.description = description;
this.users = users;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getLevelname() {
return this.levelname;
}
public void setLevelname(String levelname) {
this.levelname = levelname;
}
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;
}
public Set getUsers() {
return this.users;
}
public void setUsers(Set users) {
this.users = users;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -