/*
 * Copyright (c) 京北方信息技术股份有限公司 Corporation 2021 . All rights reserved.
 *
 */
package net.northking.cctp.saas.dto.datasource;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.*;

import java.io.Serializable;

/**
 * 查询接口--数据传输对象：微服务与数据源关系
 * <p>
 * createdate:  2021-03-16 15:39:20  <br>
 *
 * @author: maven-cctp-plugin  <br>
 * @since: 1.0 <br>
 */
@JsonSerialize
@ApiModel(description = "微服务与数据源关系")
public class SaaSAppDataSourceQueryDto implements Serializable
{
  /**
   * 微服务<br>
   */
  @ApiModelProperty("微服务")
  @Size(max = 32, message = "微服务-microServiceId: 数据长度不能 > 32")
  private String microServiceId;
  /**
   * 数据源集群<br>
   */
  @ApiModelProperty("数据源集群")
  @Size(max = 32, message = "数据源集群-dataSourceClusterId: 数据长度不能 > 32")
  private String dataSourceClusterId;

  public String getMicroServiceId()
  {
    return microServiceId;
  }

  public void setMicroServiceId(String microServiceId)
  {
    this.microServiceId = microServiceId;
  }

  public String getDataSourceClusterId()
  {
    return dataSourceClusterId;
  }

  public void setDataSourceClusterId(String dataSourceClusterId)
  {
    this.dataSourceClusterId = dataSourceClusterId;
  }
}