package cn.axzo.workflow.common.model.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 节点的电子签名数据
 *
 * @author wangli
 * @since 2025-01-15 20:11
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SignatureDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 节点 ID
     */
    private String activityId;
    /**
     * 节点名称
     */
    private String activityName;
    /**
     * 签名图片数据有序集合
     */
    private List<SignDetail> signatures;

    @Data
    @Accessors(chain = true)
    public static class SignDetail implements Serializable {
        private static final long serialVersionUID = 1L;
        private String signature;
        private String advice;
    }
}
