import 'package:domain/entity/response/index_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 AgencyAddState {
  //表单的校验与数据
  Map<String, Map<String, dynamic>> formData = {
    'agency_name': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
    'acra': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
    'person_in_charge': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
    'address': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
    'email': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
    'phone': {
      'value': '',
      'controller': TextEditingController(),
      'focusNode': FocusNode(),
      'hintText': 'Enter...'.tr,
      'obsecure': false,
    },
  };

  List<IndexOptionEntity>? statusOption;
  String? statusId;

  String? agentId;
  void Function(dynamic value)? cb;

}
