import 'package:domain/entity/response/contract_position_rate_specific_option_entity.dart';
import 'package:domain/entity/response/job_template_edit_index_entity.dart';
import 'package:flutter/material.dart';
import 'package:plugin_basic/basic_export.dart';

class ContractRateSpecificState {
  //表单的校验与数据
  Map<String, Map<String, dynamic>> formData = {
    'agency_name': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
    'position': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
    'hourly_rate': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
  };

  DateTime? selectedDate;

  String? positionId;
  String? contractId;
  void Function(dynamic value)? cb;

  ContractPositionRateSpecificOptionEntity? optionEntity;

}
