package com.friday.operation.api.custody.dto;

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

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

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AuthorizationDTO implements Serializable {

    /**
     * 管理人登记编号
     */
    private String admin;

    /**
     * 托管编码
     */
    private String trustNo;

    /**
     * 授权账密信息
     */
    private Map<String, String> authorizationMap;

    /**
     * 授权文件信息
     */
    private AuthorizationFileDTO authorizationFileDTO;

    /**
     * 邮件配置，目前最多两个
     */
    private List<AuthorizationEmailDTO> authorizationEmailList;
}
