/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2023-10-30 14:44:17
 * @LastEditTime : 2023-10-30 17:26:00
 * @Description  : Do not edit
 */
import 'package:wisdom_cli/wisdom_cli.dart';

class DepositeChargeItemModel extends WPickerEntity {
  String? id;
  String? name;
  num? fee;
  String? identification;
  String? hfwDescription;

  DepositeChargeItemModel({
    this.id,
    this.name,
    this.fee,
    this.identification,
    this.hfwDescription,
  });

  DepositeChargeItemModel.fromJson(json) {
    Map<String, dynamic> map = Map.from(json ?? {});

    id = map['id'];
    name = map['name'];
    fee = map['fee'];
    identification = map['identification'];
    hfwDescription = map['hfwDescription'];
  }

  Map<String, dynamic> toJson() {
    Map<String, dynamic> json = Map<String, dynamic>();

    json['id'] = this.id;
    json['name'] = this.name;
    json['fee'] = this.fee;
    json['identification'] = this.identification;
    json['hfwDescription'] = this.hfwDescription;

    return json;
  }

  @override
  bool get selectDisabled => false;

  @override
  String get selectName => this.name ?? '';

  @override
  Object get selectUnique => this.id ?? '';
}
