📄 tplresourceorgdto.java
字号:
package com.coshare.joyteam.projectMgr.dto;
import java.io.Serializable;
import com.coshare.joyteam.util.ID;
public class TplResourceOrgDTO implements Serializable, OrgResource {
/**
* Serialization version.
*/
private static final long serialVersionUID = 3256721784178095673L;
private ID tplResOrgId;
private ID templateId;
private ID activityId;
private String resId;
private int type;
static public ID intToID(int intid) {
ID id = new ID();
id.setId(intid);
id.setType(ID.TYPE_WfTplResOrg);
return id;
}
public TplResourceOrgDTO(ID templateId, ID activityId, String resId, int type) {
this.templateId = templateId;
this.activityId = activityId;
this.resId = resId;
this.type = type;
}
public TplResourceOrgDTO() {}
/**
* @return Returns the activityId.
*/
public ID getActivityId() {
return activityId;
}
/**
* @param activityId The activityId to set.
*/
public void setActivityId(ID activityId) {
this.activityId = activityId;
}
/**
* @return Returns the resId.
*/
public String getResId() {
return resId;
}
/**
* @param resId The resId to set.
*/
public void setResId(String resId) {
this.resId = resId;
}
/**
* @return Returns the templateId.
*/
public ID getTemplateId() {
return templateId;
}
/**
* @param templateId The templateId to set.
*/
public void setTemplateId(ID templateId) {
this.templateId = templateId;
}
/**
* @return Returns the type.
*/
public int getType() {
return type;
}
/**
* @param type The type to set.
*/
public void setType(int type) {
this.type = type;
}
/**
* @return Returns the tplResOrgId.
*/
public ID getTplResOrgId() {
return tplResOrgId;
}
/**
* @param tplResOrgId The tplResOrgId to set.
*/
public void setTplResOrgId(ID tplResOrgId) {
this.tplResOrgId = tplResOrgId;
}
public void setTplResOrgId(int tplResOrgId) {
this.setTplResOrgId(intToID(tplResOrgId));
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -