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.
aku_new_community/lib/models/user/my_house_model.dart

35 lines
859 B

import 'package:json_annotation/json_annotation.dart';
part 'my_house_model.g.dart';
@JsonSerializable()
class MyHouseModel {
final int id;
final String addressName;
final String communityName;
final String buildingName;
final String estateName;
final String unitName;
final String manageEstateTypeName;
final int identity;
final String name;
final String tel;
final String isDefault;
factory MyHouseModel.fromJson(Map<String, dynamic> json) =>
_$MyHouseModelFromJson(json);
const MyHouseModel({
required this.id,
required this.addressName,
required this.communityName,
required this.buildingName,
required this.estateName,
required this.unitName,
required this.manageEstateTypeName,
required this.identity,
required this.name,
required this.tel,
required this.isDefault,
});
}