// ignore_for_file: invalid_annotation_target

import 'package:freezed_annotation/freezed_annotation.dart';

part 'tender_approvals_toggle_data.freezed.dart';
part 'tender_approvals_toggle_data.g.dart';

@freezed
abstract class TenderApprovalsToggleData with _$TenderApprovalsToggleData {
  const factory TenderApprovalsToggleData({
    required String? id,
    @JsonKey(name: 'tender_id') required String? tenderId,
    @JsonKey(name: 'company_id') required String? companyId,
    @JsonKey(name: 'submission_mode') required String? submissionMode,
    @JsonKey(name: 'status') required String? status,
    @JsonKey(name: 'created_at') required int? createdAt,
  }) = _TenderApprovalsToggleData;

  factory TenderApprovalsToggleData.fromJson(Map<String, Object?> json) =>
      _$TenderApprovalsToggleDataFromJson(json);
}
