relations.java

来自「基于jbpm开发的实例」· Java 代码 · 共 71 行

JAVA
71
字号
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 + =
减小字号Ctrl + -
显示快捷键?