package com.cnooc.expert.controller.workflow.model.response;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class ApprovePathSettingPageResp {

     private String defId;
     private String defName;
     private String opinion;
     private String pathId;
     private Boolean useIfream;
     private Integer engineType;
     private String ifreamUrl;
     private String fileId;
     private String suggestMsg;
     private String receiveSettingCode;
     private String receiveSettingName;
     private String upSubjectName;
     private String upSubjectId;
     private String needUpApproval;
     private String signingComments;
     private String noNeedUpApprovalCode;
     private String noNeedUpApprovalInfo;
     private List<ApprovePath> templatePaths;

     @Data
     @Builder
     public static class ApprovePath {
         private String nodeId;
         private String nodeName;
         private String approvePersonName;
         private String subjectName;
         private String email;
         private List<ApprovePathAccount> accountList;
     }

     @Data
     @Builder
     public static class ApprovePathAccount {
          private String account;
          private String name;
          private String subjectName;
          private String email;
     }

}
