/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2021-03-17 15:22:15
 * @LastEditTime : 2021-03-17 15:22:28
 * @FilePath     : /wisdom-huiguanjia-app/oa_package/lib/src/models/flows_detail_model.dart
 * @Description  : 流程详情model
 */

class FlowsDetailModel {
  String? groupName;
  String? processName;
  String? ico;
  List<String>? authList;
  String? auditTip;
  bool? audit;
  String? describe;
  String? processJson;
  String? authType;

  FlowsDetailModel({
    this.groupName,
    this.processName,
    this.ico,
    this.authList,
    this.auditTip,
    this.audit,
    this.describe,
    this.processJson,
    this.authType,
  });

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

    groupName = map['groupName'];
    processName = map['processName'];
    ico = map['ico'];
    authList = map['authList'].cast<String>();
    auditTip = map['auditTip'];
    audit = map['audit'];
    describe = map['describe'];
    processJson = map['processJson'];
    authType = map['authType'];
  }

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

    json['groupName'] = this.groupName;
    json['processName'] = this.processName;
    json['ico'] = this.ico;
    json['authList'] = this.authList;
    json['auditTip'] = this.auditTip;
    json['audit'] = this.audit;
    json['describe'] = this.describe;
    json['processJson'] = this.processJson;
    json['authType'] = this.authType;

    return json;
  }
}
