import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ActivatedRoute } from '@angular/router';
import { IDbaasInstanceModel } from '@fleio-api/openstack/model/dbaas-instance.model';
import { DbaasInstanceListUiService } from '../dbaas-instance-list-ui.service';

@Component({
  selector: 'app-dbaas-instance-details',
  templateUrl: './dbaas-instance-details.component.html',
  styleUrls: ['./dbaas-instance-details.component.scss']
})
export class DbaasInstanceDetailsComponent extends DetailsBase<IDbaasInstanceModel> {

  constructor(route: ActivatedRoute, dbaasInstanceListUiService: DbaasInstanceListUiService) {
    super(route, dbaasInstanceListUiService, 'details', 'database_instance');
  }
}
