📄 taskdto.java
字号:
package com.coshare.joyteam.projectMgr.dto;
import java.io.Serializable;
import java.util.Date;
import com.coshare.joyteam.util.ID;
public class TaskDTO implements Serializable {
/**
* Serialization version.
*/
private static final long serialVersionUID = 3257289132144605239L;
private ID taskId;
private ID instanceId;
private String taskName;
private ID activityId;
private int activityType;
private String theDescription;
private Date startTime;
private Date endTime;
private int expireTime;
private int statusKey;
static public ID intToID(int intid) {
ID id = new ID();
id.setId(intid);
id.setType(ID.TYPE_WfTask);
return id;
}
public TaskDTO() {}
/**
* @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 activityType.
*/
public int getActivityType() {
return activityType;
}
/**
* @param activityType The activityType to set.
*/
public void setActivityType(int activityType) {
this.activityType = activityType;
}
/**
* @return Returns the endTime.
*/
public Date getEndTime() {
return endTime;
}
/**
* @param endTime The endTime to set.
*/
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
/**
* @return Returns the expireTime.
*/
public int getExpireTime() {
return expireTime;
}
/**
* @param expireTime The expireTime to set.
*/
public void setExpireTime(int expireTime) {
this.expireTime = expireTime;
}
/**
* @return Returns the instanceId.
*/
public ID getInstanceId() {
return instanceId;
}
/**
* @param instanceId The instanceId to set.
*/
public void setInstanceId(ID instanceId) {
this.instanceId = instanceId;
}
/**
* @return Returns the startTime.
*/
public Date getStartTime() {
return startTime;
}
/**
* @param startTime The startTime to set.
*/
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
/**
* @return Returns the statusKey.
*/
public int getStatusKey() {
return statusKey;
}
/**
* @param statusKey The statusKey to set.
*/
public void setStatusKey(int statusKey) {
this.statusKey = statusKey;
}
/**
* @return Returns the taskId.
*/
public ID getTaskId() {
return taskId;
}
/**
* @param taskId The taskId to set.
*/
public void setTaskId(ID taskId) {
this.taskId = taskId;
}
public void setTaskId(int taskId) {
this.setTaskId(intToID(taskId));
}
/**
* @return Returns the theDescription.
*/
public String getTheDescription() {
return theDescription;
}
/**
* @param theDescription The theDescription to set.
*/
public void setTheDescription(String theDescription) {
this.theDescription = theDescription;
}
/**
* @return Returns the taskName.
*/
public String getTaskName() {
return taskName;
}
/**
* @param taskName The taskName to set.
*/
public void setTaskName(String taskName) {
this.taskName = taskName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -