import 'package:pshared/models/describable.dart';
import 'package:pshared/models/resources.dart';
import 'package:pshared/models/storable.dart';
import 'package:pshared/models/storable/describable.dart';


class PolicyDescription implements StorableDescribable {
  final Storable storable;
  final Describable describable;
  final List<ResourceType>? resourceTypes;
  final String? organizationRef;

  @override
  String get id => storable.id;
  @override
  DateTime get createdAt => storable.createdAt;
  @override
  DateTime get updatedAt => storable.updatedAt;
  @override
  String get name => describable.name;
  @override
  String? get description => describable.description;

  const PolicyDescription({
    required this.storable,
    required this.describable,
    required this.resourceTypes,
    required this.organizationRef,
  });
}