import 'package:satu/core/utils/utils_parse.dart';

/// code : 1
/// name : "���� ��������"

class OperatorBean {
  int? code;
  String? name;

  static OperatorBean? fromMap(dynamic map) {
    if (map == null) return null;
    OperatorBean operatorBean = OperatorBean();
    operatorBean.code = cast<int>(map['code']);
    operatorBean.name = cast<String>(map['name']);
    return operatorBean;
  }

  Map toJson() => {
    'code': code,
    'name': name,
  };
}
