All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.herodotus.stirrup.logic.bpmn.mongodb.entity.ProcessComments 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.mongodb.entity;

import cn.herodotus.stirrup.data.crud.entity.AbstractMongoEntity;
import com.google.common.base.MoreObjects;
import jakarta.persistence.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 

Description: 工作流流程审批意见

* * @author : gengwei.zheng * @date : 2023/2/24 18:03 */ @Document(collection = "process-comments") public class ProcessComments extends AbstractMongoEntity { @Id private String id; private String username; private String userId; private String processInstanceId; private String taskId; private String activityId; private String activityName; private String message; private String fullMessage; private String tenantId; @Override public String getId() { return id; } public void setId(String id) { this.id = id; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getUserId() { return userId; } public void setUserId(String userId) { this.userId = userId; } public String getProcessInstanceId() { return processInstanceId; } public void setProcessInstanceId(String processInstanceId) { this.processInstanceId = processInstanceId; } 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 getMessage() { return message; } public void setMessage(String message) { this.message = message; } public String getTenantId() { return tenantId; } public void setTenantId(String tenantId) { this.tenantId = tenantId; } public String getFullMessage() { return fullMessage; } public void setFullMessage(String fullMessage) { this.fullMessage = fullMessage; } @Override public String toString() { return MoreObjects.toStringHelper(this) .add("id", id) .add("username", username) .add("userId", userId) .add("processInstanceId", processInstanceId) .add("taskId", taskId) .add("activityId", activityId) .add("activityName", activityName) .add("message", message) .add("fullMessage", fullMessage) .add("tenantId", tenantId) .toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy