package com.qqchen.deploy.backend.workflow.dto.definition.node.localVariables;

import com.qqchen.deploy.backend.workflow.annotation.SchemaProperty;
import lombok.Data;

@Data
public class ApprovalNodeLocalVariables {

    @SchemaProperty(
        title = "审批意见",
        description = "审批人填写的意见"
    )
    private String comment;

    @SchemaProperty(
        title = "审批结果",
        description = "审批结果",
        enumValues = {"APPROVED", "REJECTED"},
        enumNames = {"同意", "拒绝"}
    )
    private String approvalResult;

    @SchemaProperty(
        title = "审批时间",
        description = "审批完成时间"
    )
    private String approvalTime;
} 