refactor(property): 将 RemoteUnitService 调整为 RemoteBuildingService
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-08-04 22:04:41 +08:00
parent 0cb299d383
commit 0db07e6d53
6 changed files with 71 additions and 79 deletions

View File

@@ -0,0 +1,13 @@
package org.dromara.property.api;
import org.dromara.property.api.domain.vo.RemoteBuildingVo;
/**
* 物业楼层远程服务
* @author lxj
*/
public interface RemoteBuildingService {
RemoteBuildingVo queryBuildingById(Long id);
}

View File

@@ -1,13 +0,0 @@
package org.dromara.property.api;
import org.dromara.property.api.domain.vo.RemoteUnitVo;
/**
* 物业楼层远程服务
* @author lxj
*/
public interface RemoteUnitService {
RemoteUnitVo queryUnitById(Long id);
}

View File

@@ -11,7 +11,7 @@ import java.io.Serializable;
* @author lxj
*/
@Data
public class RemoteUnitVo implements Serializable {
public class RemoteBuildingVo implements Serializable {
@Serial
private static final long serialVersionUID = -11L;
@@ -21,31 +21,19 @@ public class RemoteUnitVo implements Serializable {
*/
private Long id;
/**
* 园区id
*/
private Long communityId;
/**
* 建筑名称
*/
private Long buildingId;
private String buildingName;
/**
* 单元名称
* 总层数
*/
private String unitName;
/**
* 单元层数
*/
private Integer floorCount;
/**
* 单元户数
*/
private Integer householdCount;
/**
* 楼梯数量
*/
private Integer stairCount;
private Long floorCount;
}