cn.herodotus.stirrup.logic.bpmn.camunda.entity.ExtendedTask Maven / Gradle / Ivy
The newest version!
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君), Licensed under the AGPL License
*
* This file is part of Herodotus Stirrup.
*
* Herodotus Stirrup is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Herodotus Stirrup is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package cn.herodotus.stirrup.logic.bpmn.camunda.entity;
import cn.herodotus.stirrup.core.definition.domain.base.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.google.common.base.MoreObjects;
import java.util.Date;
/**
* Description: 扩展的 Camunda ExtendedTask 查询实体
*
* @author : gengwei.zheng
* @date : 2023/1/20 23:37
*/
public class ExtendedTask implements Entity {
private String taskId;
private String activityId;
private String activityName;
private String tenantId;
private String businessKey;
private String processDefinitionId;
private String processInstanceId;
private String executionId;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startTime;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime;
private String assigneeName;
private String assigneeId;
private String ownerName;
private String ownerId;
private String startUsername;
private String startUserId;
public String getTaskId() {
return taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getActivityId() {
return activityId;
}
public void setActivityId(String activityId) {
this.activityId = activityId;
}
public String getActivityName() {
return activityName;
}
public void setActivityName(String activityName) {
this.activityName = activityName;
}
public String getTenantId() {
return tenantId;
}
public void setTenantId(String tenantId) {
this.tenantId = tenantId;
}
public String getBusinessKey() {
return businessKey;
}
public void setBusinessKey(String businessKey) {
this.businessKey = businessKey;
}
public String getProcessDefinitionId() {
return processDefinitionId;
}
public void setProcessDefinitionId(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public String getProcessInstanceId() {
return processInstanceId;
}
public void setProcessInstanceId(String processInstanceId) {
this.processInstanceId = processInstanceId;
}
public String getExecutionId() {
return executionId;
}
public void setExecutionId(String executionId) {
this.executionId = executionId;
}
public Date getStartTime() {
return startTime;
}
public void setStartTime(Date startTime) {
this.startTime = startTime;
}
public Date getEndTime() {
return endTime;
}
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
public String getAssigneeName() {
return assigneeName;
}
public void setAssigneeName(String assigneeName) {
this.assigneeName = assigneeName;
}
public String getAssigneeId() {
return assigneeId;
}
public void setAssigneeId(String assigneeId) {
this.assigneeId = assigneeId;
}
public String getOwnerName() {
return ownerName;
}
public void setOwnerName(String ownerName) {
this.ownerName = ownerName;
}
public String getOwnerId() {
return ownerId;
}
public void setOwnerId(String ownerId) {
this.ownerId = ownerId;
}
public String getStartUsername() {
return startUsername;
}
public void setStartUsername(String startUsername) {
this.startUsername = startUsername;
}
public String getStartUserId() {
return startUserId;
}
public void setStartUserId(String startUserId) {
this.startUserId = startUserId;
}
@Override
public String toString() {
return MoreObjects.toStringHelper(this)
.add("taskId", taskId)
.add("activityId", activityId)
.add("activityName", activityName)
.add("tenantId", tenantId)
.add("businessKey", businessKey)
.add("processDefinitionId", processDefinitionId)
.add("processInstanceId", processInstanceId)
.add("executionId", executionId)
.add("startTime", startTime)
.add("endTime", endTime)
.add("assigneeName", assigneeName)
.add("assigneeId", assigneeId)
.add("ownerName", ownerName)
.add("ownerId", ownerId)
.add("startUsername", startUsername)
.add("startUserId", startUserId)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy