SystemFunction.java 1.24 KB
/**
 * 
 */
package com.hp.cmsz.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * DIM_SYSTEM_FUNCTION_INFO_T表对应的实体类
 * 系统功能信息
 * 
 * @author Zhang Wei
 *
 */

@Entity
@Table(name = "DIM_SYSTEM_FUNCTION_INFO_T")
public class SystemFunction implements Serializable{
	
	private Long functionId;
	private String functionName;
	private String belongModule;

    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SystemFunctionSequence")
    @SequenceGenerator(name = "SystemFunctionSequence", sequenceName = "dim_system_function_info_t_seq", allocationSize=1)
    
    public Long getFunctionId() {
		return functionId;
	}
	public void setFunctionId(Long functionId) {
		this.functionId = functionId;
	}
	public String getFunctionName() {
		return functionName;
	}
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}
	public String getBelongModule() {
		return belongModule;
	}
	public void setBelongModule(String belongModule) {
		this.belongModule = belongModule;
	}
}