import 'package:json_annotation/json_annotation.dart';

import 'package:pshared/data/dto/storable.dart';
import 'package:pshared/data/dto/date_time.dart';

part 'bound.g.dart';


@JsonSerializable()
class OrganizationBoundDTO extends StorableDTO {
  final String organizationRef;

  const OrganizationBoundDTO({
    required super.id,
    required super.createdAt,
    required super.updatedAt,
    required this.organizationRef,
  });

  factory OrganizationBoundDTO.fromJson(Map<String, dynamic> json) => _$OrganizationBoundDTOFromJson(json);
  @override
  Map<String, dynamic> toJson() => _$OrganizationBoundDTOToJson(this);
}
