import 'package:json_annotation/json_annotation.dart'; part 'act_record.g.dart'; @JsonSerializable(explicitToJson: true) class ActRecord { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? storeId = ''; int? type = 0; String? actTemplateId = ''; String? actTimeId = ''; String? actProductId = ''; String? mid = ''; int? joinNum = 0; String? startTime = ''; String? endTime = ''; int? state = 0; int? isDelete = 0; int? tempDay = 0; int? tempHour = 0; int? tempM = 0; int? tempS = 0; ActRecord(); factory ActRecord.fromJson(Map json) => _$ActRecordFromJson(json); Map toJson() => _$ActRecordToJson(this); }