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.
18 lines
387 B
18 lines
387 B
import 'package:aku_community/model/user/pick_building_model.dart';
|
|
|
|
class HouseItem {
|
|
PickBuildingModel building;
|
|
PickBuildingModel unit;
|
|
PickBuildingModel room;
|
|
|
|
HouseItem({
|
|
required this.building,
|
|
required this.unit,
|
|
required this.room,
|
|
});
|
|
|
|
int? get houseCode => room.value;
|
|
|
|
String get houseName => '${building.label}-${unit.label}单元-${room.label}';
|
|
}
|