⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 relations.java

📁 基于jbpm开发的实例
💻 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 + -