/*
 * @Author       : WuWei
 * @LastEditors: ChenYaJin
 * @Date         : 2022-07-12 11:42:52
 * @LastEditTime: 2023-04-21 17:05:30
 * @Description  : Do not edit
 */
class SortListModel {
  String? sortName;
  String? id;

  SortListModel({
    this.sortName,
    this.id,
  });

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

    sortName = map['sortName'];
    id = map['id'];
  }

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

    json['sortName'] = this.sortName;
    json['id'] = this.id;

    return json;
  }
}

class EnumModel {
  String? code;
  String? name;

  EnumModel({
    this.code,
    this.name,
  });

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

    code = map['code'].toString();
    name = map['name'];
  }

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

    json['code'] = this.code;
    json['name'] = this.name;

    return json;
  }
}
