import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { IPricingRuleModel } from '@fleio-api/openstack/model/pricing-rule.model';
import { ActivatedRoute } from '@angular/router';
import { PricingPlanListUIService } from '../openstack-plan-list-ui.service';

@Component({
  selector: 'app-openstack-plan-rule-edit',
  templateUrl: './openstack-plan-rule-edit.component.html',
  styleUrls: ['./openstack-plan-rule-edit.component.scss']
})
export class OpenstackPlanRuleEditComponent extends DetailsBase<IPricingRuleModel> {
  constructor(route: ActivatedRoute, pricingPlanListUIService: PricingPlanListUIService) {
    super(route, pricingPlanListUIService, 'edit-rule', 'pricingRule');
  }
}
