/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2022-02-16 17:05:03
 * @LastEditTime : 2023-02-02 15:27:07
 * @Description  : Do not edit
 */

class FormMenuIdDetailModel {
  String? id;
  String? name;
  String? type;
  String? intelligentFormGroupId;
  String? fillObject;
  List<String>? fillAuthData;
  String? viewObject;
  List<String>? viewAuthData;
  String? ico;
  String? fillPeriodType;
  String? description;
  String? formHtml;
  String? formIdentification;
  String? status;

  FormMenuIdDetailModel({
    this.id,
    this.name,
    this.type,
    this.intelligentFormGroupId,
    this.fillObject,
    this.fillAuthData,
    this.viewObject,
    this.viewAuthData,
    this.ico,
    this.fillPeriodType,
    this.description,
    this.formHtml,
    this.formIdentification,
    this.status,
  });

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

    id = map['id'];
    name = map['name'];
    type = map['type'];
    intelligentFormGroupId = map['intelligentFormGroupId'];
    fillObject = map['fillObject'];
    fillAuthData = map['fillAuthData'].cast<String>();
    viewObject = map['viewObject'];
    viewAuthData = map['viewAuthData'].cast<String>();
    ico = map['ico'];
    fillPeriodType = map['fillPeriodType'];
    description = map['description'];
    formHtml = map['formHtml'];
    formIdentification = map['formIdentification'];
    status = map['status'];
  }

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

    json['id'] = this.id;
    json['name'] = this.name;
    json['type'] = this.type;
    json['intelligentFormGroupId'] = this.intelligentFormGroupId;
    json['fillObject'] = this.fillObject;
    json['fillAuthData'] = this.fillAuthData;
    json['viewObject'] = this.viewObject;
    json['viewAuthData'] = this.viewAuthData;
    json['ico'] = this.ico;
    json['fillPeriodType'] = this.fillPeriodType;
    json['description'] = this.description;
    json['formHtml'] = this.formHtml;
    json['formIdentification'] = this.formIdentification;
    json['status'] = this.status;

    return json;
  }
}
