/*
 * @Author       : WuWei
 * @LastEditors: ChenYaJin
 * @Date         : 2021-08-30 09:38:54
 * @LastEditTime: 2023-08-10 11:52:26
 * @Description  : Do not edit
 */
import './task_operation_node_detail.dart';
part 'task_operation_standard.g.dart';

class TaskOperationStandard {
  final String? id;
  final String? title;
  final String? status;
  final String? type;
  final String? workInstructionNo;
  final String? workInstructionName;
  final String? workInstructionId;
  final bool? used;
  final bool? required;
  final bool? illustrate;
  final String? hint;
  final List<dynamic>? workStandardExtends;
  DetailStandard? answer; // 自己组装

  TaskOperationStandard({
    this.id,
    this.title,
    this.status,
    this.type,
    this.workInstructionNo,
    this.workInstructionName,
    this.workInstructionId,
    this.used,
    this.workStandardExtends,
    this.required,
    this.hint,
    this.answer,
    this.illustrate,
  });

  ///
  ///
  ///
  ///
  ///
  ///
  ///
//***以下为模板代码谨慎修改***
  factory TaskOperationStandard.fromJson(Map<String, dynamic> json) =>
      _$TaskOperationStandardFromJson(json);
  Map<String, dynamic> toJson() => _$TaskOperationStandardToJson(this);
}

class WorkStandardExtendsOfTaskOperationStandardModel {
  final String? id;
  final String? workStandardId;
  final String? content;
  final bool? exceptionItem;
  final String? inputRestrictionType;
  final num? mostWordCount;
  final num? leastWordCount;
  final num? minValue;
  final num? maxValue;
  final num? leastUploadCount;
  final num? mostUploadCount;
  WorkStandardExtendsOfTaskOperationStandardModel({
    this.id,
    this.workStandardId,
    this.content,
    this.exceptionItem,
    this.inputRestrictionType,
    this.mostWordCount,
    this.leastWordCount,
    this.mostUploadCount,
    this.leastUploadCount,
    this.minValue,
    this.maxValue,
  });

  ///
  ///
  ///
  ///
  ///
  ///
  ///
//***以下为模板代码谨慎修改***
  factory WorkStandardExtendsOfTaskOperationStandardModel.fromJson(
          Map<String, dynamic> json) =>
      _$WorkStandardExtendsOfTaskOperationStandardModelFromJson(json);
  Map<String, dynamic> toJson() =>
      _$WorkStandardExtendsOfTaskOperationStandardModelToJson(this);
}
