📄 relations.java
字号:
package com.flowdemo.po;
/**
* Relations entity.
*
* @author MyEclipse Persistence Tools
*/
public class Relations implements java.io.Serializable {
// Fields
private Integer relationId;
private String userId;
private String parentId;
private Integer hasChild;
// Constructors
/** default constructor */
public Relations() {
}
/** minimal constructor */
public Relations(String userId, Integer hasChild) {
this.userId = userId;
this.hasChild = hasChild;
}
/** full constructor */
public Relations(String userId, String parentId, Integer hasChild) {
this.userId = userId;
this.parentId = parentId;
this.hasChild = hasChild;
}
// Property accessors
public Integer getRelationId() {
return this.relationId;
}
public void setRelationId(Integer relationId) {
this.relationId = relationId;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getParentId() {
return this.parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public Integer getHasChild() {
return this.hasChild;
}
public void setHasChild(Integer hasChild) {
this.hasChild = hasChild;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -