master
parent
7e97d5064d
commit
099b478f11
@ -0,0 +1,19 @@
|
||||
import 'package:json_annotation/json_annotation.dart';
|
||||
import 'package:equatable/equatable.dart';
|
||||
part 'exclude_pn_model.g.dart';
|
||||
|
||||
|
||||
@JsonSerializable()
|
||||
class ExcludePnModel extends Equatable{
|
||||
final String? phone;
|
||||
final String? remark;
|
||||
factory ExcludePnModel.fromJson(Map<String, dynamic> json) =>_$ExcludePnModelFromJson(json);
|
||||
|
||||
|
||||
const ExcludePnModel({
|
||||
required this.phone,
|
||||
required this.remark,
|
||||
});
|
||||
@override
|
||||
List<Object?> get props => [phone,remark];
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'exclude_pn_model.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
ExcludePnModel _$ExcludePnModelFromJson(Map<String, dynamic> json) =>
|
||||
ExcludePnModel(
|
||||
phone: json['phone'] as String,
|
||||
remark: json['remark'] as String,
|
||||
);
|
Loading…
Reference in new issue