package com.friday.custody.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class TenantInfoMonitorDto {
    //管理人
    private String  adminNo;
    //管理人名字
    private String adminName;

    // 托管人编号
    //private String trustNo;
    //管理人下已接入接口列表
    //添加一个类，添加接口以及接口中文名
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<ApiDto> apiList;
    //托管存在，但是管理未接入的接口
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<ApiDto> isNotapiList;
    //是否有邮件接入
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<EmailDto> emailList;
    //是否有邮件接入
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<EmailDto> isNotEmailList;



    public TenantInfoMonitorDto(String adminNo, String adminName, List<ApiDto> apiList, List<EmailDto> emailList) {
        this.adminNo = adminNo;
        this.adminName = adminName;
        this.apiList = apiList;
        this.emailList = emailList;
    }

    public TenantInfoMonitorDto() {
    }
}
