import 'package:json_annotation/json_annotation.dart'; part 'dict_info.g.dart'; ///字典信息 @JsonSerializable() class DictInfo { @JsonKey(name: "createBy") final String? createBy; @JsonKey(name: "createTime") final String? createTime; @JsonKey(name: "updateBy") final String? updateBy; @JsonKey(name: "updateTime") final String? updateTime; @JsonKey(name: "remark") final String? remark; @JsonKey(name: "dictCode") final int? dictCode; @JsonKey(name: "dictSort") final int? dictSort; @JsonKey(name: "dictLabel") final String? dictLabel; @JsonKey(name: "dictValue") final String? dictValue; @JsonKey(name: "dictType") final String? dictType; @JsonKey(name: "cssClass") final String? cssClass; @JsonKey(name: "listClass") final String? listClass; @JsonKey(name: "isDefault") final String? isDefault; @JsonKey(name: "status") final String? status; @JsonKey(name: "default") final bool? def; DictInfo ({ this.createBy, this.createTime, this.updateBy, this.updateTime, this.remark, this.dictCode, this.dictSort, this.dictLabel, this.dictValue, this.dictType, this.cssClass, this.listClass, this.isDefault, this.status, this.def, }); factory DictInfo.fromJson(Map json) { return _$DictInfoFromJson(json); } Map toJson() { return _$DictInfoToJson(this); } }