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.
16 lines
362 B
16 lines
362 B
4 years ago
|
import 'package:akuCommunity/model/user/pick_building_model.dart';
|
||
|
import 'package:flutter/foundation.dart';
|
||
|
|
||
|
class HouseItem {
|
||
|
PickBuildingModel building;
|
||
|
PickBuildingModel house;
|
||
|
HouseItem({
|
||
|
@required this.building,
|
||
|
@required this.house,
|
||
|
});
|
||
|
|
||
|
int get houseCode => house.value;
|
||
|
|
||
|
String get houseName => '${building.label}-${house.label}';
|
||
|
}
|