📄 actorhis.java
字号:
package cn.myapps.core.workflow.storage.runtime.ejb;
import java.io.Serializable;
import cn.myapps.base.dao.ValueObject;
import cn.myapps.core.user.action.WebUser;
import cn.myapps.util.sequence.Sequence;
import cn.myapps.util.sequence.SequenceException;
/**
* @hibernate.class table="T_ACTORHIS" lazy="false"
*/
public class ActorHIS extends ValueObject implements Serializable {
private String id;
private String name;
private String actorid;
private int type;
public ActorHIS() {
}
public ActorHIS(WebUser user) throws SequenceException {
this.id = Sequence.getSequence();
this.name = user.getName();
this.actorid = user.getId();
this.type = Type.TYPE_USER;
}
/**
* @hibernate.property column="ACTORID"
*/
public String getActorid() {
return actorid;
}
public void setActorid(String actorid) {
this.actorid = actorid;
}
/**
* @hibernate.id column="ID" generator-class="assigned"
*/
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/**
* @hibernate.property column="NAME"
*/
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* @hibernate.property column="TYPE"
*/
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -