You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'package:equatable/equatable.dart';
|
|
|
|
part 'exclude_phone_model.g.dart';
|
|
|
|
|
|
|
|
|
|
|
|
@JsonSerializable()
|
|
|
|
class ExcludePhoneModel extends Equatable{
|
|
|
|
final int id;
|
|
|
|
final String phone;
|
|
|
|
final String remark;
|
|
|
|
final String address;
|
|
|
|
factory ExcludePhoneModel.fromJson(Map<String, dynamic> json) =>_$ExcludePhoneModelFromJson(json);
|
|
|
|
Map<String,dynamic> toJson()=> _$ExcludePhoneModelToJson(this);
|
|
|
|
|
|
|
|
const ExcludePhoneModel({
|
|
|
|
required this.id,
|
|
|
|
required this.phone,
|
|
|
|
required this.remark,
|
|
|
|
required this.address,
|
|
|
|
});
|
|
|
|
|
|
|
|
@override
|
|
|
|
List<Object?> get props => [id,phone,remark,address];
|
|
|
|
}
|