article.java

来自「一个很好的jbpm应用实例」· Java 代码 · 共 153 行

JAVA
153
字号
package c20.entity;

/**
 * 文章实体
 * @author yuxd
 *
 */
public class Article {
	/**
	 * 编辑中
	 */
	public static final int EDITED = 0;
	/**
	 * 发布中
	 */
	public static final int PUBLISH = 1;
	/**
	 * 审批通过
	 */
	public static final int AUDITPASS = 2;
	/**
	 * 审批未通过
	 */
	public static final int AUDITNOTPASS = 3;
	
	/**
	 * 文章号
	 */
	private Integer articleNo;
	/**
	 * 用户号
	 */
	private Integer userNo;
	/**
	 * 文章类型号
	 */
	private Integer typeNo;
	/**
	 * 文章名
	 */
	private String articleName;
	/**
	 * 文章内容
	 */
	private String content;
	/**
	 * 对应流程实例号
	 */
	private Long piId;
	/**
	 * 审批状态
	 */
	private String auditState;
	/**
	 * 审批说明
	 */
	private String auditComment;
	/**
	 * 文章状态,0-编辑中,1-发布中,2-审批通过,3-审批未通过
	 * 
	 */
	private Integer state;
	/**
	 * @return content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content 要设置的 content
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return articleName
	 */
	public String getArticleName() {
		return articleName;
	}
	/**
	 * @param articleName 要设置的 articleName
	 */
	public void setArticleName(String articleName) {
		this.articleName = articleName;
	}
	/**
	 * @return articleNo
	 */
	public Integer getArticleNo() {
		return articleNo;
	}
	/**
	 * @param articleNo 要设置的 articleNo
	 */
	public void setArticleNo(Integer articleNo) {
		this.articleNo = articleNo;
	}
	/**
	 * @return articleTypeNo
	 */
	public Integer getTypeNo() {
		return typeNo;
	}
	/**
	 * @param articleTypeNo 要设置的 articleTypeNo
	 */
	public void setTypeNo(Integer articleTypeNo) {
		this.typeNo = articleTypeNo;
	}
	/**
	 * @return state
	 */
	public Integer getState() {
		return state;
	}
	/**
	 * @param state 要设置的 state
	 */
	public void setState(Integer state) {
		this.state = state;
	}
	/**
	 * @return userNo
	 */
	public Integer getUserNo() {
		return userNo;
	}
	/**
	 * @param userNo 要设置的 userNo
	 */
	public void setUserNo(Integer userNo) {
		this.userNo = userNo;
	}
	public Long getPiId() {
		return piId;
	}
	public void setPiId(Long piId) {
		this.piId = piId;
	}
	public String getAuditState() {
		return auditState;
	}
	public void setAuditState(String auditState) {
		this.auditState = auditState;
	}
	public String getAuditComment() {
		return auditComment;
	}
	public void setAuditComment(String auditComment) {
		this.auditComment = auditComment;
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?