first commit

This commit is contained in:
2026-11-20 16:51:48 +08:00
parent 5e2891cc23
commit f67b0c9856
206 changed files with 11850 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.wanji.software</groupId>
<artifactId>maint-dev</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>tocc-infra-maint</artifactId>
<packaging>pom</packaging>
<description>养护基础服务</description>
<modules>
<module>tocc-infra-maint-api</module>
<module>tocc-infra-maint-biz</module>
</modules>
</project>
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.wanji.software</groupId>
<artifactId>tocc-infra-maint</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>tocc-infra-maint-api</artifactId>
<description>养护基础服务接口,系统服务通过这些接口访问数据库</description>
<dependencies>
<dependency>
<groupId>com.wanji.software</groupId>
<artifactId>maint-support</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
<version>2.2.8</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.ArchivePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveResp;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 工程建设档案表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "ArchiveApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 工程建设档案表")
public interface ArchiveApi {
String PREFIX = ApiConstants.PREFIX + "/archive";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增工程建设档案表")
Result<ArchiveResp> create(@RequestBody ArchiveSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询工程建设档案表")
Result<ArchiveResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改工程建设档案表")
Result<Boolean> update(@RequestBody ArchiveSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除工程建设档案表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询工程建设档案表")
Result<PageResult<ArchiveResp>> page(@RequestBody ArchivePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveAssetPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveAssetResp;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveAssetSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 工程建设档案-资产关联表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "ArchiveAssetApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 工程建设档案-资产关联表")
public interface ArchiveAssetApi {
String PREFIX = ApiConstants.PREFIX + "/archive-asset";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增工程建设档案-资产关联表")
Result<ArchiveAssetResp> create(@RequestBody ArchiveAssetSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询工程建设档案-资产关联表")
Result<ArchiveAssetResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改工程建设档案-资产关联表")
Result<Boolean> update(@RequestBody ArchiveAssetSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除工程建设档案-资产关联表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询工程建设档案-资产关联表")
Result<PageResult<ArchiveAssetResp>> page(@RequestBody ArchiveAssetPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveCategoryPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveCategoryResp;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveCategorySaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 工程建设档案分类表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "ArchiveCategoryApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 工程建设档案分类表")
public interface ArchiveCategoryApi {
String PREFIX = ApiConstants.PREFIX + "/archive-category";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增工程建设档案分类表")
Result<ArchiveCategoryResp> create(@RequestBody ArchiveCategorySaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询工程建设档案分类表")
Result<ArchiveCategoryResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改工程建设档案分类表")
Result<Boolean> update(@RequestBody ArchiveCategorySaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除工程建设档案分类表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询工程建设档案分类表")
Result<PageResult<ArchiveCategoryResp>> page(@RequestBody ArchiveCategoryPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveFilePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveFileResp;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveFileSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 工程建设档案文件表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "ArchiveFileApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 工程建设档案文件表")
public interface ArchiveFileApi {
String PREFIX = ApiConstants.PREFIX + "/archive-file";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增工程建设档案文件表")
Result<ArchiveFileResp> create(@RequestBody ArchiveFileSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询工程建设档案文件表")
Result<ArchiveFileResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改工程建设档案文件表")
Result<Boolean> update(@RequestBody ArchiveFileSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除工程建设档案文件表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询工程建设档案文件表")
Result<PageResult<ArchiveFileResp>> page(@RequestBody ArchiveFilePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveVolumePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveVolumeResp;
import com.wanji.software.tocc.infra.maint.model.dto.ArchiveVolumeSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 工程建设档案案卷表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "ArchiveVolumeApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 工程建设档案案卷表")
public interface ArchiveVolumeApi {
String PREFIX = ApiConstants.PREFIX + "/archive-volume";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增工程建设档案案卷表")
Result<ArchiveVolumeResp> create(@RequestBody ArchiveVolumeSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询工程建设档案案卷表")
Result<ArchiveVolumeResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改工程建设档案案卷表")
Result<Boolean> update(@RequestBody ArchiveVolumeSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除工程建设档案案卷表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询工程建设档案案卷表")
Result<PageResult<ArchiveVolumeResp>> page(@RequestBody ArchiveVolumePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.AssetInventoryPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.AssetInventoryResp;
import com.wanji.software.tocc.infra.maint.model.dto.AssetInventorySaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 资产采集表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "AssetInventoryApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 资产采集表")
public interface AssetInventoryApi {
String PREFIX = ApiConstants.PREFIX + "/asset-inventory";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增资产采集表")
Result<AssetInventoryResp> create(@RequestBody AssetInventorySaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询资产采集表")
Result<AssetInventoryResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改资产采集表")
Result<Boolean> update(@RequestBody AssetInventorySaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除资产采集表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询资产采集表")
Result<PageResult<AssetInventoryResp>> page(@RequestBody AssetInventoryPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.BridgePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.BridgeResp;
import com.wanji.software.tocc.infra.maint.model.dto.BridgeSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 桥梁信息表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "BridgeApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 桥梁信息表")
public interface BridgeApi {
String PREFIX = ApiConstants.PREFIX + "/bridge";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增桥梁信息表")
Result<BridgeResp> create(@RequestBody BridgeSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询桥梁信息表")
Result<BridgeResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改桥梁信息表")
Result<Boolean> update(@RequestBody BridgeSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除桥梁信息表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询桥梁信息表")
Result<PageResult<BridgeResp>> page(@RequestBody BridgePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.DefectPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.DefectResp;
import com.wanji.software.tocc.infra.maint.model.dto.DefectSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 隐患表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "DefectApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 隐患表")
public interface DefectApi {
String PREFIX = ApiConstants.PREFIX + "/defect";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增隐患表")
Result<DefectResp> create(@RequestBody DefectSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询隐患表")
Result<DefectResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改隐患表")
Result<Boolean> update(@RequestBody DefectSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除隐患表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询隐患表")
Result<PageResult<DefectResp>> page(@RequestBody DefectPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.DefectAssetPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.DefectAssetResp;
import com.wanji.software.tocc.infra.maint.model.dto.DefectAssetSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 隐患-资产关联表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "DefectAssetApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 隐患-资产关联表")
public interface DefectAssetApi {
String PREFIX = ApiConstants.PREFIX + "/defect-asset";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增隐患-资产关联表")
Result<DefectAssetResp> create(@RequestBody DefectAssetSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询隐患-资产关联表")
Result<DefectAssetResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改隐患-资产关联表")
Result<Boolean> update(@RequestBody DefectAssetSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除隐患-资产关联表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询隐患-资产关联表")
Result<PageResult<DefectAssetResp>> page(@RequestBody DefectAssetPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.DefectTypePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.DefectTypeResp;
import com.wanji.software.tocc.infra.maint.model.dto.DefectTypeSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 隐患类别表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "DefectTypeApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 隐患类别表")
public interface DefectTypeApi {
String PREFIX = ApiConstants.PREFIX + "/defect-type";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增隐患类别表")
Result<DefectTypeResp> create(@RequestBody DefectTypeSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询隐患类别表")
Result<DefectTypeResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改隐患类别表")
Result<Boolean> update(@RequestBody DefectTypeSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除隐患类别表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询隐患类别表")
Result<PageResult<DefectTypeResp>> page(@RequestBody DefectTypePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityResp;
import com.wanji.software.tocc.infra.maint.model.dto.FacilitySaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 设施信息表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "FacilityApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 设施信息表")
public interface FacilityApi {
String PREFIX = ApiConstants.PREFIX + "/facility";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增设施信息表")
Result<FacilityResp> create(@RequestBody FacilitySaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询设施信息表")
Result<FacilityResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改设施信息表")
Result<Boolean> update(@RequestBody FacilitySaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除设施信息表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询设施信息表")
Result<PageResult<FacilityResp>> page(@RequestBody FacilityPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityTypePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityTypeResp;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityTypeSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 设施类型表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "FacilityTypeApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 设施类型表")
public interface FacilityTypeApi {
String PREFIX = ApiConstants.PREFIX + "/facility-type";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增设施类型表")
Result<FacilityTypeResp> create(@RequestBody FacilityTypeSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询设施类型表")
Result<FacilityTypeResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改设施类型表")
Result<Boolean> update(@RequestBody FacilityTypeSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除设施类型表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询设施类型表")
Result<PageResult<FacilityTypeResp>> page(@RequestBody FacilityTypePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityTypeFieldPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityTypeFieldResp;
import com.wanji.software.tocc.infra.maint.model.dto.FacilityTypeFieldSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 设施类型字段配置表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "FacilityTypeFieldApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 设施类型字段配置表")
public interface FacilityTypeFieldApi {
String PREFIX = ApiConstants.PREFIX + "/facility-type-field";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增设施类型字段配置表")
Result<FacilityTypeFieldResp> create(@RequestBody FacilityTypeFieldSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询设施类型字段配置表")
Result<FacilityTypeFieldResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改设施类型字段配置表")
Result<Boolean> update(@RequestBody FacilityTypeFieldSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除设施类型字段配置表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询设施类型字段配置表")
Result<PageResult<FacilityTypeFieldResp>> page(@RequestBody FacilityTypeFieldPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.InspectionPlanPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.InspectionPlanResp;
import com.wanji.software.tocc.infra.maint.model.dto.InspectionPlanSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 巡查计划表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "InspectionPlanApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 巡查计划表")
public interface InspectionPlanApi {
String PREFIX = ApiConstants.PREFIX + "/inspection-plan";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增巡查计划表")
Result<InspectionPlanResp> create(@RequestBody InspectionPlanSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询巡查计划表")
Result<InspectionPlanResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改巡查计划表")
Result<Boolean> update(@RequestBody InspectionPlanSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除巡查计划表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询巡查计划表")
Result<PageResult<InspectionPlanResp>> page(@RequestBody InspectionPlanPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.InspectionRecordPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.InspectionRecordResp;
import com.wanji.software.tocc.infra.maint.model.dto.InspectionRecordSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 巡查日志表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "InspectionRecordApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 巡查日志表")
public interface InspectionRecordApi {
String PREFIX = ApiConstants.PREFIX + "/inspection-record";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增巡查日志表")
Result<InspectionRecordResp> create(@RequestBody InspectionRecordSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询巡查日志表")
Result<InspectionRecordResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改巡查日志表")
Result<Boolean> update(@RequestBody InspectionRecordSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除巡查日志表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询巡查日志表")
Result<PageResult<InspectionRecordResp>> page(@RequestBody InspectionRecordPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.KnowledgePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.KnowledgeResp;
import com.wanji.software.tocc.infra.maint.model.dto.KnowledgeSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 知识表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "KnowledgeApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 知识表")
public interface KnowledgeApi {
String PREFIX = ApiConstants.PREFIX + "/knowledge";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增知识表")
Result<KnowledgeResp> create(@RequestBody KnowledgeSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询知识表")
Result<KnowledgeResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改知识表")
Result<Boolean> update(@RequestBody KnowledgeSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除知识表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询知识表")
Result<PageResult<KnowledgeResp>> page(@RequestBody KnowledgePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.KnowledgeCategoryPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.KnowledgeCategoryResp;
import com.wanji.software.tocc.infra.maint.model.dto.KnowledgeCategorySaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 知识分类表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "KnowledgeCategoryApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 知识分类表")
public interface KnowledgeCategoryApi {
String PREFIX = ApiConstants.PREFIX + "/knowledge-category";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增知识分类表")
Result<KnowledgeCategoryResp> create(@RequestBody KnowledgeCategorySaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询知识分类表")
Result<KnowledgeCategoryResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改知识分类表")
Result<Boolean> update(@RequestBody KnowledgeCategorySaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除知识分类表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询知识分类表")
Result<PageResult<KnowledgeCategoryResp>> page(@RequestBody KnowledgeCategoryPageReq req);
}
@@ -0,0 +1,22 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
/**
* 基础服务接口写法。新表的增删改查按这个接口增加,路径放在 /rpc-api/maint 下面。
*/
@FeignClient(name = ApiConstants.NAME, contextId = "MaintHealthApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 养护基础服务")
public interface MaintHealthApi {
String PREFIX = ApiConstants.PREFIX + "/health";
@GetMapping(PREFIX)
@Operation(summary = "健康检查")
Result<String> health();
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenanceDeptPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenanceDeptResp;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenanceDeptSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 养护单位表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "MaintenanceDeptApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 养护单位表")
public interface MaintenanceDeptApi {
String PREFIX = ApiConstants.PREFIX + "/maintenance-dept";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增养护单位表")
Result<MaintenanceDeptResp> create(@RequestBody MaintenanceDeptSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询养护单位表")
Result<MaintenanceDeptResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改养护单位表")
Result<Boolean> update(@RequestBody MaintenanceDeptSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除养护单位表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询养护单位表")
Result<PageResult<MaintenanceDeptResp>> page(@RequestBody MaintenanceDeptPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenanceEquipmentPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenanceEquipmentResp;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenanceEquipmentSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 养护设备表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "MaintenanceEquipmentApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 养护设备表")
public interface MaintenanceEquipmentApi {
String PREFIX = ApiConstants.PREFIX + "/maintenance-equipment";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增养护设备表")
Result<MaintenanceEquipmentResp> create(@RequestBody MaintenanceEquipmentSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询养护设备表")
Result<MaintenanceEquipmentResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改养护设备表")
Result<Boolean> update(@RequestBody MaintenanceEquipmentSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除养护设备表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询养护设备表")
Result<PageResult<MaintenanceEquipmentResp>> page(@RequestBody MaintenanceEquipmentPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenancePersonPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenancePersonResp;
import com.wanji.software.tocc.infra.maint.model.dto.MaintenancePersonSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 养护人员表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "MaintenancePersonApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 养护人员表")
public interface MaintenancePersonApi {
String PREFIX = ApiConstants.PREFIX + "/maintenance-person";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增养护人员表")
Result<MaintenancePersonResp> create(@RequestBody MaintenancePersonSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询养护人员表")
Result<MaintenancePersonResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改养护人员表")
Result<Boolean> update(@RequestBody MaintenancePersonSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除养护人员表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询养护人员表")
Result<PageResult<MaintenancePersonResp>> page(@RequestBody MaintenancePersonPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.RoadPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.RoadResp;
import com.wanji.software.tocc.infra.maint.model.dto.RoadSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 道路信息表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "RoadApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 道路信息表")
public interface RoadApi {
String PREFIX = ApiConstants.PREFIX + "/road";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增道路信息表")
Result<RoadResp> create(@RequestBody RoadSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询道路信息表")
Result<RoadResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改道路信息表")
Result<Boolean> update(@RequestBody RoadSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除道路信息表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询道路信息表")
Result<PageResult<RoadResp>> page(@RequestBody RoadPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.RoadSectionPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.RoadSectionResp;
import com.wanji.software.tocc.infra.maint.model.dto.RoadSectionSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 路段信息表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "RoadSectionApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 路段信息表")
public interface RoadSectionApi {
String PREFIX = ApiConstants.PREFIX + "/road-section";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增路段信息表")
Result<RoadSectionResp> create(@RequestBody RoadSectionSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询路段信息表")
Result<RoadSectionResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改路段信息表")
Result<Boolean> update(@RequestBody RoadSectionSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除路段信息表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询路段信息表")
Result<PageResult<RoadSectionResp>> page(@RequestBody RoadSectionPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.RoadUpgradingPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.RoadUpgradingResp;
import com.wanji.software.tocc.infra.maint.model.dto.RoadUpgradingSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 改扩建信息表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "RoadUpgradingApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 改扩建信息表")
public interface RoadUpgradingApi {
String PREFIX = ApiConstants.PREFIX + "/road-upgrading";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增改扩建信息表")
Result<RoadUpgradingResp> create(@RequestBody RoadUpgradingSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询改扩建信息表")
Result<RoadUpgradingResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改改扩建信息表")
Result<Boolean> update(@RequestBody RoadUpgradingSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除改扩建信息表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询改扩建信息表")
Result<PageResult<RoadUpgradingResp>> page(@RequestBody RoadUpgradingPageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.SlopePageReq;
import com.wanji.software.tocc.infra.maint.model.dto.SlopeResp;
import com.wanji.software.tocc.infra.maint.model.dto.SlopeSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 边坡信息表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "SlopeApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 边坡信息表")
public interface SlopeApi {
String PREFIX = ApiConstants.PREFIX + "/slope";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增边坡信息表")
Result<SlopeResp> create(@RequestBody SlopeSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询边坡信息表")
Result<SlopeResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改边坡信息表")
Result<Boolean> update(@RequestBody SlopeSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除边坡信息表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询边坡信息表")
Result<PageResult<SlopeResp>> page(@RequestBody SlopePageReq req);
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.api;
import com.wanji.software.tocc.common.model.Result;
import com.wanji.software.tocc.infra.maint.constants.ApiConstants;
import com.wanji.software.tocc.infra.maint.model.dto.UserRoadSectionPageReq;
import com.wanji.software.tocc.infra.maint.model.dto.UserRoadSectionResp;
import com.wanji.software.tocc.infra.maint.model.dto.UserRoadSectionSaveReq;
import com.wanji.software.tocc.maint.support.PageResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
/**
* 用户-路段关联表
*/
@FeignClient(name = ApiConstants.NAME, contextId = "UserRoadSectionApi", url = "${maint.infra.url:http://127.0.0.1:7424}")
@Tag(name = "RPC 服务 - 用户-路段关联表")
public interface UserRoadSectionApi {
String PREFIX = ApiConstants.PREFIX + "/user-road-section";
@PostMapping(PREFIX + "/create")
@Operation(summary = "新增用户-路段关联表")
Result<UserRoadSectionResp> create(@RequestBody UserRoadSectionSaveReq req);
@GetMapping(PREFIX + "/get-by-id")
@Operation(summary = "按主键查询用户-路段关联表")
Result<UserRoadSectionResp> getById(@Parameter(description = "主键") @RequestParam("id") String id);
@PutMapping(PREFIX + "/update")
@Operation(summary = "修改用户-路段关联表")
Result<Boolean> update(@RequestBody UserRoadSectionSaveReq req);
@DeleteMapping(PREFIX + "/delete")
@Operation(summary = "删除用户-路段关联表")
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("id") String id);
@PostMapping(PREFIX + "/page")
@Operation(summary = "分页查询用户-路段关联表")
Result<PageResult<UserRoadSectionResp>> page(@RequestBody UserRoadSectionPageReq req);
}
@@ -0,0 +1,16 @@
package com.wanji.software.tocc.infra.maint.constants;
/**
* 服务名需要和 spring.application.name 保持一致。
*/
public final class ApiConstants {
public static final String NAME = "maint-infra";
public static final String PREFIX = "/rpc-api/maint";
public static final String VERSION = "1.0.0";
private ApiConstants() {
}
}
@@ -0,0 +1,35 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案-资产关联表分页查询
*/
@Data
@Schema(description = "工程建设档案-资产关联表分页查询")
public class ArchiveAssetPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 资产类型(道路、桥梁、边坡、设施) */
@Schema(description = "资产类型(道路、桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
}
@@ -0,0 +1,56 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案-资产关联表
*/
@Data
@Schema(description = "工程建设档案-资产关联表")
public class ArchiveAssetResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 资产类型(道路、桥梁、边坡、设施) */
@Schema(description = "资产类型(道路、桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,37 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案-资产关联表保存参数
*/
@Data
@Schema(description = "工程建设档案-资产关联表保存参数")
public class ArchiveAssetSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 资产类型(道路、桥梁、边坡、设施) */
@Schema(description = "资产类型(道路、桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,43 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案分类表分页查询
*/
@Data
@Schema(description = "工程建设档案分类表分页查询")
public class ArchiveCategoryPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 上级分类ID */
@Schema(description = "上级分类ID")
private String parentId;
/** 分类编码 */
@Schema(description = "分类编码")
private String code;
/** 分类名称 */
@Schema(description = "分类名称")
private String name;
/** 本层级排序 */
@Schema(description = "本层级排序")
private Integer orderNum;
/** 路径 */
@Schema(description = "路径")
private String path;
/** 是否叶子节点 */
@Schema(description = "是否叶子节点")
private Integer isLeaf;
}
@@ -0,0 +1,64 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案分类表
*/
@Data
@Schema(description = "工程建设档案分类表")
public class ArchiveCategoryResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 上级分类ID */
@Schema(description = "上级分类ID")
private String parentId;
/** 分类编码 */
@Schema(description = "分类编码")
private String code;
/** 分类名称 */
@Schema(description = "分类名称")
private String name;
/** 本层级排序 */
@Schema(description = "本层级排序")
private Integer orderNum;
/** 路径 */
@Schema(description = "路径")
private String path;
/** 是否叶子节点 */
@Schema(description = "是否叶子节点")
private Integer isLeaf;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,45 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案分类表保存参数
*/
@Data
@Schema(description = "工程建设档案分类表保存参数")
public class ArchiveCategorySaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 上级分类ID */
@Schema(description = "上级分类ID")
private String parentId;
/** 分类编码 */
@Schema(description = "分类编码")
private String code;
/** 分类名称 */
@Schema(description = "分类名称")
private String name;
/** 本层级排序 */
@Schema(description = "本层级排序")
private Integer orderNum;
/** 路径 */
@Schema(description = "路径")
private String path;
/** 是否叶子节点 */
@Schema(description = "是否叶子节点")
private Integer isLeaf;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,43 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案文件表分页查询
*/
@Data
@Schema(description = "工程建设档案文件表分页查询")
public class ArchiveFilePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 案卷ID */
@Schema(description = "案卷ID")
private String volumeId;
/** 件号 */
@Schema(description = "件号")
private Integer orderNum;
/** 文件题名 */
@Schema(description = "文件题名")
private String fileTitle;
/** 状态 */
@Schema(description = "状态")
private Integer status;
/** 附件ID */
@Schema(description = "附件ID")
private String attachmentId;
}
@@ -0,0 +1,64 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案文件表
*/
@Data
@Schema(description = "工程建设档案文件表")
public class ArchiveFileResp {
/** id */
@Schema(description = "id")
private String id;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 案卷ID */
@Schema(description = "案卷ID")
private String volumeId;
/** 件号 */
@Schema(description = "件号")
private Integer orderNum;
/** 文件题名 */
@Schema(description = "文件题名")
private String fileTitle;
/** 状态 */
@Schema(description = "状态")
private Integer status;
/** 附件ID */
@Schema(description = "附件ID")
private String attachmentId;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,45 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案文件表保存参数
*/
@Data
@Schema(description = "工程建设档案文件表保存参数")
public class ArchiveFileSaveReq {
/** id */
@Schema(description = "id")
private String id;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 案卷ID */
@Schema(description = "案卷ID")
private String volumeId;
/** 件号 */
@Schema(description = "件号")
private Integer orderNum;
/** 文件题名 */
@Schema(description = "文件题名")
private String fileTitle;
/** 状态 */
@Schema(description = "状态")
private Integer status;
/** 附件ID */
@Schema(description = "附件ID")
private String attachmentId;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,73 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案表分页查询
*/
@Data
@Schema(description = "工程建设档案表分页查询")
public class ArchivePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 档案分类ID */
@Schema(description = "档案分类ID")
private String archiveCategoryId;
/** 档案编号 */
@Schema(description = "档案编号")
private String archiveCode;
/** 档案名称 */
@Schema(description = "档案名称")
private String archiveName;
/** 工程名称 */
@Schema(description = "工程名称")
private String projectName;
/** 阶段(前期、设计、施工、监理、竣工、运维) */
@Schema(description = "阶段(前期、设计、施工、监理、竣工、运维)")
private Integer phase;
/** 编制人 */
@Schema(description = "编制人")
private String editor;
/** 审核人 */
@Schema(description = "审核人")
private String checker;
/** 批准人 */
@Schema(description = "批准人")
private String approver;
/** 形成日期 */
@Schema(description = "形成日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate formDate;
/** 保管期限 */
@Schema(description = "保管期限")
private String retentionPeriod;
/** 总卷数(卷) */
@Schema(description = "总卷数(卷)")
private Integer totalVolumes;
/** 总件数(件) */
@Schema(description = "总件数(件)")
private Integer totalFiles;
/** 状态 */
@Schema(description = "状态")
private Integer status;
}
@@ -0,0 +1,93 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案表
*/
@Data
@Schema(description = "工程建设档案表")
public class ArchiveResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 档案分类ID */
@Schema(description = "档案分类ID")
private String archiveCategoryId;
/** 档案编号 */
@Schema(description = "档案编号")
private String archiveCode;
/** 档案名称 */
@Schema(description = "档案名称")
private String archiveName;
/** 工程名称 */
@Schema(description = "工程名称")
private String projectName;
/** 阶段(前期、设计、施工、监理、竣工、运维) */
@Schema(description = "阶段(前期、设计、施工、监理、竣工、运维)")
private Integer phase;
/** 编制人 */
@Schema(description = "编制人")
private String editor;
/** 审核人 */
@Schema(description = "审核人")
private String checker;
/** 批准人 */
@Schema(description = "批准人")
private String approver;
/** 形成日期 */
@Schema(description = "形成日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate formDate;
/** 保管期限 */
@Schema(description = "保管期限")
private String retentionPeriod;
/** 总卷数(卷) */
@Schema(description = "总卷数(卷)")
private Integer totalVolumes;
/** 总件数(件) */
@Schema(description = "总件数(件)")
private Integer totalFiles;
/** 状态 */
@Schema(description = "状态")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,75 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案表保存参数
*/
@Data
@Schema(description = "工程建设档案表保存参数")
public class ArchiveSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 档案分类ID */
@Schema(description = "档案分类ID")
private String archiveCategoryId;
/** 档案编号 */
@Schema(description = "档案编号")
private String archiveCode;
/** 档案名称 */
@Schema(description = "档案名称")
private String archiveName;
/** 工程名称 */
@Schema(description = "工程名称")
private String projectName;
/** 阶段(前期、设计、施工、监理、竣工、运维) */
@Schema(description = "阶段(前期、设计、施工、监理、竣工、运维)")
private Integer phase;
/** 编制人 */
@Schema(description = "编制人")
private String editor;
/** 审核人 */
@Schema(description = "审核人")
private String checker;
/** 批准人 */
@Schema(description = "批准人")
private String approver;
/** 形成日期 */
@Schema(description = "形成日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate formDate;
/** 保管期限 */
@Schema(description = "保管期限")
private String retentionPeriod;
/** 总卷数(卷) */
@Schema(description = "总卷数(卷)")
private Integer totalVolumes;
/** 总件数(件) */
@Schema(description = "总件数(件)")
private Integer totalFiles;
/** 状态 */
@Schema(description = "状态")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,79 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案案卷表分页查询
*/
@Data
@Schema(description = "工程建设档案案卷表分页查询")
public class ArchiveVolumePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 卷号 */
@Schema(description = "卷号")
private Integer orderNum;
/** 卷内编号 */
@Schema(description = "卷内编号")
private String volumeCode;
/** 案卷题名 */
@Schema(description = "案卷题名")
private String volumeTitle;
/** 文件起始日期 */
@Schema(description = "文件起始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate startDate;
/** 文件终止日期 */
@Schema(description = "文件终止日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate endDate;
/** 立卷人 */
@Schema(description = "立卷人")
private String filer;
/** 检查人 */
@Schema(description = "检查人")
private String inspector;
/** 审批人 */
@Schema(description = "审批人")
private String approver;
/** 立卷日期 */
@Schema(description = "立卷日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate fileDate;
/** 库房位置(柜号/架号/层号) */
@Schema(description = "库房位置(柜号/架号/层号)")
private String storageLocation;
/** 保管期限 */
@Schema(description = "保管期限")
private String retentionPeriod;
/** 总件数(件) */
@Schema(description = "总件数(件)")
private Integer totalFiles;
/** 状态 */
@Schema(description = "状态")
private Integer status;
}
@@ -0,0 +1,99 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案案卷表
*/
@Data
@Schema(description = "工程建设档案案卷表")
public class ArchiveVolumeResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 卷号 */
@Schema(description = "卷号")
private Integer orderNum;
/** 卷内编号 */
@Schema(description = "卷内编号")
private String volumeCode;
/** 案卷题名 */
@Schema(description = "案卷题名")
private String volumeTitle;
/** 文件起始日期 */
@Schema(description = "文件起始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate startDate;
/** 文件终止日期 */
@Schema(description = "文件终止日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate endDate;
/** 立卷人 */
@Schema(description = "立卷人")
private String filer;
/** 检查人 */
@Schema(description = "检查人")
private String inspector;
/** 审批人 */
@Schema(description = "审批人")
private String approver;
/** 立卷日期 */
@Schema(description = "立卷日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate fileDate;
/** 库房位置(柜号/架号/层号) */
@Schema(description = "库房位置(柜号/架号/层号)")
private String storageLocation;
/** 保管期限 */
@Schema(description = "保管期限")
private String retentionPeriod;
/** 总件数(件) */
@Schema(description = "总件数(件)")
private Integer totalFiles;
/** 状态 */
@Schema(description = "状态")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,81 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 工程建设档案案卷表保存参数
*/
@Data
@Schema(description = "工程建设档案案卷表保存参数")
public class ArchiveVolumeSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 档案ID */
@Schema(description = "档案ID")
private String archiveId;
/** 卷号 */
@Schema(description = "卷号")
private Integer orderNum;
/** 卷内编号 */
@Schema(description = "卷内编号")
private String volumeCode;
/** 案卷题名 */
@Schema(description = "案卷题名")
private String volumeTitle;
/** 文件起始日期 */
@Schema(description = "文件起始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate startDate;
/** 文件终止日期 */
@Schema(description = "文件终止日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate endDate;
/** 立卷人 */
@Schema(description = "立卷人")
private String filer;
/** 检查人 */
@Schema(description = "检查人")
private String inspector;
/** 审批人 */
@Schema(description = "审批人")
private String approver;
/** 立卷日期 */
@Schema(description = "立卷日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate fileDate;
/** 库房位置(柜号/架号/层号) */
@Schema(description = "库房位置(柜号/架号/层号)")
private String storageLocation;
/** 保管期限 */
@Schema(description = "保管期限")
private String retentionPeriod;
/** 总件数(件) */
@Schema(description = "总件数(件)")
private Integer totalFiles;
/** 状态 */
@Schema(description = "状态")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,74 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 资产采集表分页查询
*/
@Data
@Schema(description = "资产采集表分页查询")
public class AssetInventoryPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 道路ID(冗余) */
@Schema(description = "道路ID(冗余)")
private String roadId;
/** 路段ID(冗余) */
@Schema(description = "路段ID(冗余)")
private String roadSectionId;
/** 资产类型(桥梁、边坡、设施) */
@Schema(description = "资产类型(桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 资产状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "资产状态(在建、在用、停用、待拆除、灭失)")
private Integer assetStatus;
/** 附件(图片、视频) */
@Schema(description = "附件(图片、视频)")
private String attacmentIds;
/** 状态(草稿、已提交、审核通过、审核驳回) */
@Schema(description = "状态(草稿、已提交、审核通过、审核驳回)")
private Integer status;
/** 提交人 */
@Schema(description = "提交人")
private String submitter;
/** 提交时间 */
@Schema(description = "提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate submitTime;
/** 审核人 */
@Schema(description = "审核人")
private String checker;
/** 审核时间 */
@Schema(description = "审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate checkTime;
/** 审核意见 */
@Schema(description = "审核意见")
private String checkComment;
}
@@ -0,0 +1,94 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 资产采集表
*/
@Data
@Schema(description = "资产采集表")
public class AssetInventoryResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 道路ID(冗余) */
@Schema(description = "道路ID(冗余)")
private String roadId;
/** 路段ID(冗余) */
@Schema(description = "路段ID(冗余)")
private String roadSectionId;
/** 资产类型(桥梁、边坡、设施) */
@Schema(description = "资产类型(桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 资产状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "资产状态(在建、在用、停用、待拆除、灭失)")
private Integer assetStatus;
/** 附件(图片、视频) */
@Schema(description = "附件(图片、视频)")
private String attacmentIds;
/** 状态(草稿、已提交、审核通过、审核驳回) */
@Schema(description = "状态(草稿、已提交、审核通过、审核驳回)")
private Integer status;
/** 提交人 */
@Schema(description = "提交人")
private String submitter;
/** 提交时间 */
@Schema(description = "提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate submitTime;
/** 审核人 */
@Schema(description = "审核人")
private String checker;
/** 审核时间 */
@Schema(description = "审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate checkTime;
/** 审核意见 */
@Schema(description = "审核意见")
private String checkComment;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,76 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 资产采集表保存参数
*/
@Data
@Schema(description = "资产采集表保存参数")
public class AssetInventorySaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 道路ID(冗余) */
@Schema(description = "道路ID(冗余)")
private String roadId;
/** 路段ID(冗余) */
@Schema(description = "路段ID(冗余)")
private String roadSectionId;
/** 资产类型(桥梁、边坡、设施) */
@Schema(description = "资产类型(桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 资产状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "资产状态(在建、在用、停用、待拆除、灭失)")
private Integer assetStatus;
/** 附件(图片、视频) */
@Schema(description = "附件(图片、视频)")
private String attacmentIds;
/** 状态(草稿、已提交、审核通过、审核驳回) */
@Schema(description = "状态(草稿、已提交、审核通过、审核驳回)")
private Integer status;
/** 提交人 */
@Schema(description = "提交人")
private String submitter;
/** 提交时间 */
@Schema(description = "提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate submitTime;
/** 审核人 */
@Schema(description = "审核人")
private String checker;
/** 审核时间 */
@Schema(description = "审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate checkTime;
/** 审核意见 */
@Schema(description = "审核意见")
private String checkComment;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,103 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 桥梁信息表分页查询
*/
@Data
@Schema(description = "桥梁信息表分页查询")
public class BridgePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 桥梁编码 */
@Schema(description = "桥梁编码")
private String bridgeCode;
/** 桥梁名称 */
@Schema(description = "桥梁名称")
private String bridgeName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 桥梁类型(梁式桥、拱桥、悬索桥、斜拉桥、其他) */
@Schema(description = "桥梁类型(梁式桥、拱桥、悬索桥、斜拉桥、其他)")
private Integer bridgeType;
/** 桥梁全长(m) */
@Schema(description = "桥梁全长(m)")
private BigDecimal bridgeLen;
/** 跨径总长(m) */
@Schema(description = "跨径总长(m)")
private BigDecimal totalSpanLen;
/** 桥面净宽(m) */
@Schema(description = "桥面净宽(m)")
private BigDecimal deckClearWidth;
/** 建设单位 */
@Schema(description = "建设单位")
private String owner;
/** 设计单位 */
@Schema(description = "设计单位")
private String designer;
/** 施工单位 */
@Schema(description = "施工单位")
private String contractor;
/** 监理单位 */
@Schema(description = "监理单位")
private String supervisor;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
}
@@ -0,0 +1,125 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 桥梁信息表
*/
@Data
@Schema(description = "桥梁信息表")
public class BridgeResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 桥梁编码 */
@Schema(description = "桥梁编码")
private String bridgeCode;
/** 桥梁名称 */
@Schema(description = "桥梁名称")
private String bridgeName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 桥梁类型(梁式桥、拱桥、悬索桥、斜拉桥、其他) */
@Schema(description = "桥梁类型(梁式桥、拱桥、悬索桥、斜拉桥、其他)")
private Integer bridgeType;
/** 桥梁全长(m) */
@Schema(description = "桥梁全长(m)")
private BigDecimal bridgeLen;
/** 跨径总长(m) */
@Schema(description = "跨径总长(m)")
private BigDecimal totalSpanLen;
/** 桥面净宽(m) */
@Schema(description = "桥面净宽(m)")
private BigDecimal deckClearWidth;
/** 建设单位 */
@Schema(description = "建设单位")
private String owner;
/** 设计单位 */
@Schema(description = "设计单位")
private String designer;
/** 施工单位 */
@Schema(description = "施工单位")
private String contractor;
/** 监理单位 */
@Schema(description = "监理单位")
private String supervisor;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,105 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 桥梁信息表保存参数
*/
@Data
@Schema(description = "桥梁信息表保存参数")
public class BridgeSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 桥梁编码 */
@Schema(description = "桥梁编码")
private String bridgeCode;
/** 桥梁名称 */
@Schema(description = "桥梁名称")
private String bridgeName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 桥梁类型(梁式桥、拱桥、悬索桥、斜拉桥、其他) */
@Schema(description = "桥梁类型(梁式桥、拱桥、悬索桥、斜拉桥、其他)")
private Integer bridgeType;
/** 桥梁全长(m) */
@Schema(description = "桥梁全长(m)")
private BigDecimal bridgeLen;
/** 跨径总长(m) */
@Schema(description = "跨径总长(m)")
private BigDecimal totalSpanLen;
/** 桥面净宽(m) */
@Schema(description = "桥面净宽(m)")
private BigDecimal deckClearWidth;
/** 建设单位 */
@Schema(description = "建设单位")
private String owner;
/** 设计单位 */
@Schema(description = "设计单位")
private String designer;
/** 施工单位 */
@Schema(description = "施工单位")
private String contractor;
/** 监理单位 */
@Schema(description = "监理单位")
private String supervisor;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,35 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患-资产关联表分页查询
*/
@Data
@Schema(description = "隐患-资产关联表分页查询")
public class DefectAssetPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 隐患ID */
@Schema(description = "隐患ID")
private String defectId;
/** 资产类型(桥梁、边坡、设施) */
@Schema(description = "资产类型(桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
}
@@ -0,0 +1,56 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患-资产关联表
*/
@Data
@Schema(description = "隐患-资产关联表")
public class DefectAssetResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 隐患ID */
@Schema(description = "隐患ID")
private String defectId;
/** 资产类型(桥梁、边坡、设施) */
@Schema(description = "资产类型(桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,37 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患-资产关联表保存参数
*/
@Data
@Schema(description = "隐患-资产关联表保存参数")
public class DefectAssetSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 隐患ID */
@Schema(description = "隐患ID")
private String defectId;
/** 资产类型(桥梁、边坡、设施) */
@Schema(description = "资产类型(桥梁、边坡、设施)")
private Integer assetType;
/** 资产ID */
@Schema(description = "资产ID")
private String assetId;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,144 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患表分页查询
*/
@Data
@Schema(description = "隐患表分页查询")
public class DefectPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 隐患起点桩号 */
@Schema(description = "隐患起点桩号")
private String chainageStart;
/** 隐患终点桩号 */
@Schema(description = "隐患终点桩号")
private String chainageEnd;
/** 检测时间 */
@Schema(description = "检测时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionDate;
/** 隐患类别ID */
@Schema(description = "隐患类别ID")
private String defectTypeId;
/** 隐患等级(低风险、一般风险、较大风险、重大风险) */
@Schema(description = "隐患等级(低风险、一般风险、较大风险、重大风险)")
private Integer defectGrade;
/** 治理措施 */
@Schema(description = "治理措施")
private String remedialMeasure;
/** 数量 */
@Schema(description = "数量")
private BigDecimal remedialQty;
/** 预估金额(元) */
@Schema(description = "预估金额(元)")
private BigDecimal estimatedAmt;
/** 病害附件(图片、视频) */
@Schema(description = "病害附件(图片、视频)")
private String defectAttacmentIds;
/** 处置人(路长、巡查人员) */
@Schema(description = "处置人(路长、巡查人员)")
private String maintenancer;
/** 养护类型(日常养护、预防养护、修复养护、专项养护、应急养护) */
@Schema(description = "养护类型(日常养护、预防养护、修复养护、专项养护、应急养护)")
private Integer maintenanceType;
/** 养护开始日期 */
@Schema(description = "养护开始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceStartDate;
/** 养护结束日期 */
@Schema(description = "养护结束日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceEndDate;
/** 养护附件(图片、视频) */
@Schema(description = "养护附件(图片、视频)")
private String maintenanceAttacmentIds;
/** 状态(草稿、已提交、病害审核通过、病害审核驳回、已处置、处置审核通过、处置审核驳回) */
@Schema(description = "状态(草稿、已提交、病害审核通过、病害审核驳回、已处置、处置审核通过、处置审核驳回)")
private Integer status;
/** 病害提交人(路长、巡查人员) */
@Schema(description = "病害提交人(路长、巡查人员)")
private String submitter;
/** 病害提交时间 */
@Schema(description = "病害提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate submitTime;
/** 病害审核人(管理员) */
@Schema(description = "病害审核人(管理员)")
private String checker;
/** 病害审核时间 */
@Schema(description = "病害审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate checkTime;
/** 病害审核意见 */
@Schema(description = "病害审核意见")
private String checkComment;
/** 处置结果提交人(路长、巡查人员) */
@Schema(description = "处置结果提交人(路长、巡查人员)")
private String maintenanceSubmitter;
/** 处置结果提交时间 */
@Schema(description = "处置结果提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceSubmitTime;
/** 处置结果审核人(管理员) */
@Schema(description = "处置结果审核人(管理员)")
private String maintenanceChecker;
/** 处置结果审核时间 */
@Schema(description = "处置结果审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceCheckTime;
/** 处置结果审核意见 */
@Schema(description = "处置结果审核意见")
private String maintenanceCheckComment;
/** 来源(APP端、PC端、历史数据) */
@Schema(description = "来源(APP端、PC端、历史数据)")
private Integer source;
}
@@ -0,0 +1,172 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患表
*/
@Data
@Schema(description = "隐患表")
public class DefectResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 隐患起点桩号 */
@Schema(description = "隐患起点桩号")
private String chainageStart;
/** 隐患终点桩号 */
@Schema(description = "隐患终点桩号")
private String chainageEnd;
/** 检测时间 */
@Schema(description = "检测时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionDate;
/** 隐患类别ID */
@Schema(description = "隐患类别ID")
private String defectTypeId;
/** 隐患等级(低风险、一般风险、较大风险、重大风险) */
@Schema(description = "隐患等级(低风险、一般风险、较大风险、重大风险)")
private Integer defectGrade;
/** 治理措施 */
@Schema(description = "治理措施")
private String remedialMeasure;
/** 数量 */
@Schema(description = "数量")
private BigDecimal remedialQty;
/** 预估金额(元) */
@Schema(description = "预估金额(元)")
private BigDecimal estimatedAmt;
/** 病害描述 */
@Schema(description = "病害描述")
private String defectDescription;
/** 病害附件(图片、视频) */
@Schema(description = "病害附件(图片、视频)")
private String defectAttacmentIds;
/** 处置人(路长、巡查人员) */
@Schema(description = "处置人(路长、巡查人员)")
private String maintenancer;
/** 养护类型(日常养护、预防养护、修复养护、专项养护、应急养护) */
@Schema(description = "养护类型(日常养护、预防养护、修复养护、专项养护、应急养护)")
private Integer maintenanceType;
/** 养护开始日期 */
@Schema(description = "养护开始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceStartDate;
/** 养护结束日期 */
@Schema(description = "养护结束日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceEndDate;
/** 养护内容 */
@Schema(description = "养护内容")
private String maintenanceContent;
/** 养护附件(图片、视频) */
@Schema(description = "养护附件(图片、视频)")
private String maintenanceAttacmentIds;
/** 状态(草稿、已提交、病害审核通过、病害审核驳回、已处置、处置审核通过、处置审核驳回) */
@Schema(description = "状态(草稿、已提交、病害审核通过、病害审核驳回、已处置、处置审核通过、处置审核驳回)")
private Integer status;
/** 病害提交人(路长、巡查人员) */
@Schema(description = "病害提交人(路长、巡查人员)")
private String submitter;
/** 病害提交时间 */
@Schema(description = "病害提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate submitTime;
/** 病害审核人(管理员) */
@Schema(description = "病害审核人(管理员)")
private String checker;
/** 病害审核时间 */
@Schema(description = "病害审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate checkTime;
/** 病害审核意见 */
@Schema(description = "病害审核意见")
private String checkComment;
/** 处置结果提交人(路长、巡查人员) */
@Schema(description = "处置结果提交人(路长、巡查人员)")
private String maintenanceSubmitter;
/** 处置结果提交时间 */
@Schema(description = "处置结果提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceSubmitTime;
/** 处置结果审核人(管理员) */
@Schema(description = "处置结果审核人(管理员)")
private String maintenanceChecker;
/** 处置结果审核时间 */
@Schema(description = "处置结果审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceCheckTime;
/** 处置结果审核意见 */
@Schema(description = "处置结果审核意见")
private String maintenanceCheckComment;
/** 来源(APP端、PC端、历史数据) */
@Schema(description = "来源(APP端、PC端、历史数据)")
private Integer source;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,154 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患表保存参数
*/
@Data
@Schema(description = "隐患表保存参数")
public class DefectSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 隐患起点桩号 */
@Schema(description = "隐患起点桩号")
private String chainageStart;
/** 隐患终点桩号 */
@Schema(description = "隐患终点桩号")
private String chainageEnd;
/** 检测时间 */
@Schema(description = "检测时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionDate;
/** 隐患类别ID */
@Schema(description = "隐患类别ID")
private String defectTypeId;
/** 隐患等级(低风险、一般风险、较大风险、重大风险) */
@Schema(description = "隐患等级(低风险、一般风险、较大风险、重大风险)")
private Integer defectGrade;
/** 治理措施 */
@Schema(description = "治理措施")
private String remedialMeasure;
/** 数量 */
@Schema(description = "数量")
private BigDecimal remedialQty;
/** 预估金额(元) */
@Schema(description = "预估金额(元)")
private BigDecimal estimatedAmt;
/** 病害描述 */
@Schema(description = "病害描述")
private String defectDescription;
/** 病害附件(图片、视频) */
@Schema(description = "病害附件(图片、视频)")
private String defectAttacmentIds;
/** 处置人(路长、巡查人员) */
@Schema(description = "处置人(路长、巡查人员)")
private String maintenancer;
/** 养护类型(日常养护、预防养护、修复养护、专项养护、应急养护) */
@Schema(description = "养护类型(日常养护、预防养护、修复养护、专项养护、应急养护)")
private Integer maintenanceType;
/** 养护开始日期 */
@Schema(description = "养护开始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceStartDate;
/** 养护结束日期 */
@Schema(description = "养护结束日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceEndDate;
/** 养护内容 */
@Schema(description = "养护内容")
private String maintenanceContent;
/** 养护附件(图片、视频) */
@Schema(description = "养护附件(图片、视频)")
private String maintenanceAttacmentIds;
/** 状态(草稿、已提交、病害审核通过、病害审核驳回、已处置、处置审核通过、处置审核驳回) */
@Schema(description = "状态(草稿、已提交、病害审核通过、病害审核驳回、已处置、处置审核通过、处置审核驳回)")
private Integer status;
/** 病害提交人(路长、巡查人员) */
@Schema(description = "病害提交人(路长、巡查人员)")
private String submitter;
/** 病害提交时间 */
@Schema(description = "病害提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate submitTime;
/** 病害审核人(管理员) */
@Schema(description = "病害审核人(管理员)")
private String checker;
/** 病害审核时间 */
@Schema(description = "病害审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate checkTime;
/** 病害审核意见 */
@Schema(description = "病害审核意见")
private String checkComment;
/** 处置结果提交人(路长、巡查人员) */
@Schema(description = "处置结果提交人(路长、巡查人员)")
private String maintenanceSubmitter;
/** 处置结果提交时间 */
@Schema(description = "处置结果提交时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceSubmitTime;
/** 处置结果审核人(管理员) */
@Schema(description = "处置结果审核人(管理员)")
private String maintenanceChecker;
/** 处置结果审核时间 */
@Schema(description = "处置结果审核时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate maintenanceCheckTime;
/** 处置结果审核意见 */
@Schema(description = "处置结果审核意见")
private String maintenanceCheckComment;
/** 来源(APP端、PC端、历史数据) */
@Schema(description = "来源(APP端、PC端、历史数据)")
private Integer source;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,31 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患类别表分页查询
*/
@Data
@Schema(description = "隐患类别表分页查询")
public class DefectTypePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 名称 */
@Schema(description = "名称")
private String name;
/** 计量单位(㎡、m³) */
@Schema(description = "计量单位(㎡、m³)")
private String unit;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
}
@@ -0,0 +1,52 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患类别表
*/
@Data
@Schema(description = "隐患类别表")
public class DefectTypeResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 名称 */
@Schema(description = "名称")
private String name;
/** 计量单位(㎡、m³) */
@Schema(description = "计量单位(㎡、m³)")
private String unit;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,33 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 隐患类别表保存参数
*/
@Data
@Schema(description = "隐患类别表保存参数")
public class DefectTypeSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 名称 */
@Schema(description = "名称")
private String name;
/** 计量单位(㎡、m³) */
@Schema(description = "计量单位(㎡、m³)")
private String unit;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,87 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施信息表分页查询
*/
@Data
@Schema(description = "设施信息表分页查询")
public class FacilityPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 设施类型ID */
@Schema(description = "设施类型ID")
private String facilityTypeId;
/** 设施编码 */
@Schema(description = "设施编码")
private String facilityCode;
/** 设施名称 */
@Schema(description = "设施名称")
private String facilityName;
/** 桩号 */
@Schema(description = "桩号")
private String chainage;
/** 版面形状 */
@Schema(description = "版面形状")
private String faceShape;
/** 版面材质 */
@Schema(description = "版面材质")
private String faceMaterial;
/** 版面尺寸 */
@Schema(description = "版面尺寸")
private String faceDimension;
/** 支撑方式(单柱式、双柱式、悬臂式、门架式、附着式、标志桥、桁架式、落地式、其他) */
@Schema(description = "支撑方式(单柱式、双柱式、悬臂式、门架式、附着式、标志桥、桁架式、落地式、其他)")
private Integer mountingType;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
}
@@ -0,0 +1,113 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施信息表
*/
@Data
@Schema(description = "设施信息表")
public class FacilityResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 设施类型ID */
@Schema(description = "设施类型ID")
private String facilityTypeId;
/** 设施编码 */
@Schema(description = "设施编码")
private String facilityCode;
/** 设施名称 */
@Schema(description = "设施名称")
private String facilityName;
/** 桩号 */
@Schema(description = "桩号")
private String chainage;
/** 版面形状 */
@Schema(description = "版面形状")
private String faceShape;
/** 版面材质 */
@Schema(description = "版面材质")
private String faceMaterial;
/** 版面尺寸 */
@Schema(description = "版面尺寸")
private String faceDimension;
/** 支撑方式(单柱式、双柱式、悬臂式、门架式、附着式、标志桥、桁架式、落地式、其他) */
@Schema(description = "支撑方式(单柱式、双柱式、悬臂式、门架式、附着式、标志桥、桁架式、落地式、其他)")
private Integer mountingType;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 自定义扩展属性 */
@Schema(description = "自定义扩展属性")
private String customProp;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,93 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施信息表保存参数
*/
@Data
@Schema(description = "设施信息表保存参数")
public class FacilitySaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 设施类型ID */
@Schema(description = "设施类型ID")
private String facilityTypeId;
/** 设施编码 */
@Schema(description = "设施编码")
private String facilityCode;
/** 设施名称 */
@Schema(description = "设施名称")
private String facilityName;
/** 桩号 */
@Schema(description = "桩号")
private String chainage;
/** 版面形状 */
@Schema(description = "版面形状")
private String faceShape;
/** 版面材质 */
@Schema(description = "版面材质")
private String faceMaterial;
/** 版面尺寸 */
@Schema(description = "版面尺寸")
private String faceDimension;
/** 支撑方式(单柱式、双柱式、悬臂式、门架式、附着式、标志桥、桁架式、落地式、其他) */
@Schema(description = "支撑方式(单柱式、双柱式、悬臂式、门架式、附着式、标志桥、桁架式、落地式、其他)")
private Integer mountingType;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 自定义扩展属性 */
@Schema(description = "自定义扩展属性")
private String customProp;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,43 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施类型字段配置表分页查询
*/
@Data
@Schema(description = "设施类型字段配置表分页查询")
public class FacilityTypeFieldPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 设施类型ID */
@Schema(description = "设施类型ID")
private String facilityTypeId;
/** 字段编码 */
@Schema(description = "字段编码")
private String fieldCode;
/** 字段名称 */
@Schema(description = "字段名称")
private String fieldName;
/** 字段类型(字符、文本、数字、日期、字典) */
@Schema(description = "字段类型(字符、文本、数字、日期、字典)")
private Integer fieldType;
/** 字典编码 */
@Schema(description = "字典编码")
private String dictCode;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
}
@@ -0,0 +1,64 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施类型字段配置表
*/
@Data
@Schema(description = "设施类型字段配置表")
public class FacilityTypeFieldResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 设施类型ID */
@Schema(description = "设施类型ID")
private String facilityTypeId;
/** 字段编码 */
@Schema(description = "字段编码")
private String fieldCode;
/** 字段名称 */
@Schema(description = "字段名称")
private String fieldName;
/** 字段类型(字符、文本、数字、日期、字典) */
@Schema(description = "字段类型(字符、文本、数字、日期、字典)")
private Integer fieldType;
/** 字典编码 */
@Schema(description = "字典编码")
private String dictCode;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,45 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施类型字段配置表保存参数
*/
@Data
@Schema(description = "设施类型字段配置表保存参数")
public class FacilityTypeFieldSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 设施类型ID */
@Schema(description = "设施类型ID")
private String facilityTypeId;
/** 字段编码 */
@Schema(description = "字段编码")
private String fieldCode;
/** 字段名称 */
@Schema(description = "字段名称")
private String fieldName;
/** 字段类型(字符、文本、数字、日期、字典) */
@Schema(description = "字段类型(字符、文本、数字、日期、字典)")
private Integer fieldType;
/** 字典编码 */
@Schema(description = "字典编码")
private String dictCode;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,27 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施类型表分页查询
*/
@Data
@Schema(description = "设施类型表分页查询")
public class FacilityTypePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 名称 */
@Schema(description = "名称")
private String name;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
}
@@ -0,0 +1,48 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施类型表
*/
@Data
@Schema(description = "设施类型表")
public class FacilityTypeResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 名称 */
@Schema(description = "名称")
private String name;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,29 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 设施类型表保存参数
*/
@Data
@Schema(description = "设施类型表保存参数")
public class FacilityTypeSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 名称 */
@Schema(description = "名称")
private String name;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,58 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 巡查计划表分页查询
*/
@Data
@Schema(description = "巡查计划表分页查询")
public class InspectionPlanPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 计划名称 */
@Schema(description = "计划名称")
private String planName;
/** 巡查类型(日常巡查、经常检查、定期检查) */
@Schema(description = "巡查类型(日常巡查、经常检查、定期检查)")
private Integer inspectionType;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 开始日期 */
@Schema(description = "开始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate startDate;
/** 结束日期 */
@Schema(description = "结束日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate endDate;
/** 频率 */
@Schema(description = "频率")
private String frequency;
/** 状态(启用、停用) */
@Schema(description = "状态(启用、停用)")
private Integer status;
}
@@ -0,0 +1,78 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 巡查计划表
*/
@Data
@Schema(description = "巡查计划表")
public class InspectionPlanResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 计划名称 */
@Schema(description = "计划名称")
private String planName;
/** 巡查类型(日常巡查、经常检查、定期检查) */
@Schema(description = "巡查类型(日常巡查、经常检查、定期检查)")
private Integer inspectionType;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 开始日期 */
@Schema(description = "开始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate startDate;
/** 结束日期 */
@Schema(description = "结束日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate endDate;
/** 频率 */
@Schema(description = "频率")
private String frequency;
/** 状态(启用、停用) */
@Schema(description = "状态(启用、停用)")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,60 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 巡查计划表保存参数
*/
@Data
@Schema(description = "巡查计划表保存参数")
public class InspectionPlanSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 计划名称 */
@Schema(description = "计划名称")
private String planName;
/** 巡查类型(日常巡查、经常检查、定期检查) */
@Schema(description = "巡查类型(日常巡查、经常检查、定期检查)")
private Integer inspectionType;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 开始日期 */
@Schema(description = "开始日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate startDate;
/** 结束日期 */
@Schema(description = "结束日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate endDate;
/** 频率 */
@Schema(description = "频率")
private String frequency;
/** 状态(启用、停用) */
@Schema(description = "状态(启用、停用)")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,54 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 巡查日志表分页查询
*/
@Data
@Schema(description = "巡查日志表分页查询")
public class InspectionRecordPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 巡查人员ID(冗余) */
@Schema(description = "巡查人员ID(冗余)")
private String userId;
/** 巡查计划ID */
@Schema(description = "巡查计划ID")
private String inspectionPlanId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 巡查开始时间 */
@Schema(description = "巡查开始时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionStartTime;
/** 巡查结束时间 */
@Schema(description = "巡查结束时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionEndTime;
/** 状态(草稿、已提交) */
@Schema(description = "状态(草稿、已提交)")
private Integer status;
}
@@ -0,0 +1,78 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 巡查日志表
*/
@Data
@Schema(description = "巡查日志表")
public class InspectionRecordResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 巡查人员ID(冗余) */
@Schema(description = "巡查人员ID(冗余)")
private String userId;
/** 巡查计划ID */
@Schema(description = "巡查计划ID")
private String inspectionPlanId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 巡查开始时间 */
@Schema(description = "巡查开始时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionStartTime;
/** 巡查结束时间 */
@Schema(description = "巡查结束时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionEndTime;
/** 巡查轨迹 */
@Schema(description = "巡查轨迹")
private String inspectionRoute;
/** 状态(草稿、已提交) */
@Schema(description = "状态(草稿、已提交)")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,60 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 巡查日志表保存参数
*/
@Data
@Schema(description = "巡查日志表保存参数")
public class InspectionRecordSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID(冗余) */
@Schema(description = "管养单位ID(冗余)")
private String deptId;
/** 巡查人员ID(冗余) */
@Schema(description = "巡查人员ID(冗余)")
private String userId;
/** 巡查计划ID */
@Schema(description = "巡查计划ID")
private String inspectionPlanId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 巡查开始时间 */
@Schema(description = "巡查开始时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionStartTime;
/** 巡查结束时间 */
@Schema(description = "巡查结束时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate inspectionEndTime;
/** 巡查轨迹 */
@Schema(description = "巡查轨迹")
private String inspectionRoute;
/** 状态(草稿、已提交) */
@Schema(description = "状态(草稿、已提交)")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,43 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 知识分类表分页查询
*/
@Data
@Schema(description = "知识分类表分页查询")
public class KnowledgeCategoryPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 上级分类ID */
@Schema(description = "上级分类ID")
private String parentId;
/** 分类编码 */
@Schema(description = "分类编码")
private String code;
/** 分类名称 */
@Schema(description = "分类名称")
private String name;
/** 本层级排序 */
@Schema(description = "本层级排序")
private Integer orderNum;
/** 路径 */
@Schema(description = "路径")
private String path;
/** 是否叶子节点 */
@Schema(description = "是否叶子节点")
private Integer isLeaf;
}
@@ -0,0 +1,64 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 知识分类表
*/
@Data
@Schema(description = "知识分类表")
public class KnowledgeCategoryResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 上级分类ID */
@Schema(description = "上级分类ID")
private String parentId;
/** 分类编码 */
@Schema(description = "分类编码")
private String code;
/** 分类名称 */
@Schema(description = "分类名称")
private String name;
/** 本层级排序 */
@Schema(description = "本层级排序")
private Integer orderNum;
/** 路径 */
@Schema(description = "路径")
private String path;
/** 是否叶子节点 */
@Schema(description = "是否叶子节点")
private Integer isLeaf;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,45 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 知识分类表保存参数
*/
@Data
@Schema(description = "知识分类表保存参数")
public class KnowledgeCategorySaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 上级分类ID */
@Schema(description = "上级分类ID")
private String parentId;
/** 分类编码 */
@Schema(description = "分类编码")
private String code;
/** 分类名称 */
@Schema(description = "分类名称")
private String name;
/** 本层级排序 */
@Schema(description = "本层级排序")
private Integer orderNum;
/** 路径 */
@Schema(description = "路径")
private String path;
/** 是否叶子节点 */
@Schema(description = "是否叶子节点")
private Integer isLeaf;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,39 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 知识表分页查询
*/
@Data
@Schema(description = "知识表分页查询")
public class KnowledgePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 知识分类ID */
@Schema(description = "知识分类ID")
private String knowledgeCategoryId;
/** 标题 */
@Schema(description = "标题")
private String title;
/** 附件ID */
@Schema(description = "附件ID")
private String attachmentId;
/** 状态(上架、下架) */
@Schema(description = "状态(上架、下架)")
private Integer status;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
}
@@ -0,0 +1,64 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 知识表
*/
@Data
@Schema(description = "知识表")
public class KnowledgeResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 知识分类ID */
@Schema(description = "知识分类ID")
private String knowledgeCategoryId;
/** 标题 */
@Schema(description = "标题")
private String title;
/** 内容 */
@Schema(description = "内容")
private String content;
/** 附件ID */
@Schema(description = "附件ID")
private String attachmentId;
/** 状态(上架、下架) */
@Schema(description = "状态(上架、下架)")
private Integer status;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,45 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 知识表保存参数
*/
@Data
@Schema(description = "知识表保存参数")
public class KnowledgeSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 知识分类ID */
@Schema(description = "知识分类ID")
private String knowledgeCategoryId;
/** 标题 */
@Schema(description = "标题")
private String title;
/** 内容 */
@Schema(description = "内容")
private String content;
/** 附件ID */
@Schema(description = "附件ID")
private String attachmentId;
/** 状态(上架、下架) */
@Schema(description = "状态(上架、下架)")
private Integer status;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,35 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护单位表分页查询
*/
@Data
@Schema(description = "养护单位表分页查询")
public class MaintenanceDeptPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 单位名称 */
@Schema(description = "单位名称")
private String deptName;
/** 联系人 */
@Schema(description = "联系人")
private String linkman;
/** 联系方式 */
@Schema(description = "联系方式")
private String mobile;
/** 单位地址 */
@Schema(description = "单位地址")
private String address;
}
@@ -0,0 +1,56 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护单位表
*/
@Data
@Schema(description = "养护单位表")
public class MaintenanceDeptResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 单位名称 */
@Schema(description = "单位名称")
private String deptName;
/** 联系人 */
@Schema(description = "联系人")
private String linkman;
/** 联系方式 */
@Schema(description = "联系方式")
private String mobile;
/** 单位地址 */
@Schema(description = "单位地址")
private String address;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,37 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护单位表保存参数
*/
@Data
@Schema(description = "养护单位表保存参数")
public class MaintenanceDeptSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 单位名称 */
@Schema(description = "单位名称")
private String deptName;
/** 联系人 */
@Schema(description = "联系人")
private String linkman;
/** 联系方式 */
@Schema(description = "联系方式")
private String mobile;
/** 单位地址 */
@Schema(description = "单位地址")
private String address;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,43 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护设备表分页查询
*/
@Data
@Schema(description = "养护设备表分页查询")
public class MaintenanceEquipmentPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 养护单位ID */
@Schema(description = "养护单位ID")
private String maintenanceDeptId;
/** 设备编码 */
@Schema(description = "设备编码")
private String equipmentCode;
/** 设备名称 */
@Schema(description = "设备名称")
private String equipmentName;
/** 规格型号 */
@Schema(description = "规格型号")
private String specification;
/** 生成厂家 */
@Schema(description = "生成厂家")
private String manufacturer;
/** 状态(合格、降级、停用、报废) */
@Schema(description = "状态(合格、降级、停用、报废)")
private Integer status;
}
@@ -0,0 +1,64 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护设备表
*/
@Data
@Schema(description = "养护设备表")
public class MaintenanceEquipmentResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 养护单位ID */
@Schema(description = "养护单位ID")
private String maintenanceDeptId;
/** 设备编码 */
@Schema(description = "设备编码")
private String equipmentCode;
/** 设备名称 */
@Schema(description = "设备名称")
private String equipmentName;
/** 规格型号 */
@Schema(description = "规格型号")
private String specification;
/** 生成厂家 */
@Schema(description = "生成厂家")
private String manufacturer;
/** 状态(合格、降级、停用、报废) */
@Schema(description = "状态(合格、降级、停用、报废)")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,45 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护设备表保存参数
*/
@Data
@Schema(description = "养护设备表保存参数")
public class MaintenanceEquipmentSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 养护单位ID */
@Schema(description = "养护单位ID")
private String maintenanceDeptId;
/** 设备编码 */
@Schema(description = "设备编码")
private String equipmentCode;
/** 设备名称 */
@Schema(description = "设备名称")
private String equipmentName;
/** 规格型号 */
@Schema(description = "规格型号")
private String specification;
/** 生成厂家 */
@Schema(description = "生成厂家")
private String manufacturer;
/** 状态(合格、降级、停用、报废) */
@Schema(description = "状态(合格、降级、停用、报废)")
private Integer status;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,35 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护人员表分页查询
*/
@Data
@Schema(description = "养护人员表分页查询")
public class MaintenancePersonPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 养护单位ID */
@Schema(description = "养护单位ID")
private String maintenanceDeptId;
/** 姓名 */
@Schema(description = "姓名")
private String name;
/** 性别(男、女) */
@Schema(description = "性别(男、女)")
private Integer gender;
/** 手机号 */
@Schema(description = "手机号")
private String mobile;
}
@@ -0,0 +1,56 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护人员表
*/
@Data
@Schema(description = "养护人员表")
public class MaintenancePersonResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 养护单位ID */
@Schema(description = "养护单位ID")
private String maintenanceDeptId;
/** 姓名 */
@Schema(description = "姓名")
private String name;
/** 性别(男、女) */
@Schema(description = "性别(男、女)")
private Integer gender;
/** 手机号 */
@Schema(description = "手机号")
private String mobile;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,37 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 养护人员表保存参数
*/
@Data
@Schema(description = "养护人员表保存参数")
public class MaintenancePersonSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 养护单位ID */
@Schema(description = "养护单位ID")
private String maintenanceDeptId;
/** 姓名 */
@Schema(description = "姓名")
private String name;
/** 性别(男、女) */
@Schema(description = "性别(男、女)")
private Integer gender;
/** 手机号 */
@Schema(description = "手机号")
private String mobile;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,63 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 道路信息表分页查询
*/
@Data
@Schema(description = "道路信息表分页查询")
public class RoadPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路编码 */
@Schema(description = "道路编码")
private String roadCode;
/** 道路名称 */
@Schema(description = "道路名称")
private String roadName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 行政等级(国道、省道、县道、乡道) */
@Schema(description = "行政等级(国道、省道、县道、乡道)")
private Integer adminLevel;
/** 道路长度(㎞) */
@Schema(description = "道路长度(㎞)")
private BigDecimal roadLen;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
}
@@ -0,0 +1,105 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 道路信息表
*/
@Data
@Schema(description = "道路信息表")
public class RoadResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路编码 */
@Schema(description = "道路编码")
private String roadCode;
/** 道路名称 */
@Schema(description = "道路名称")
private String roadName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 行政等级(国道、省道、县道、乡道) */
@Schema(description = "行政等级(国道、省道、县道、乡道)")
private Integer adminLevel;
/** 道路长度(㎞) */
@Schema(description = "道路长度(㎞)")
private BigDecimal roadLen;
/** 路基 */
@Schema(description = "路基")
private String subgrade;
/** 路面 */
@Schema(description = "路面")
private String pavement;
/** 主要构筑物 */
@Schema(description = "主要构筑物")
private String majorStructure;
/** 沿线设施 */
@Schema(description = "沿线设施")
private String roadsideFacility;
/** 沿线环境 */
@Schema(description = "沿线环境")
private String roadsideEnv;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,85 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 道路信息表保存参数
*/
@Data
@Schema(description = "道路信息表保存参数")
public class RoadSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路编码 */
@Schema(description = "道路编码")
private String roadCode;
/** 道路名称 */
@Schema(description = "道路名称")
private String roadName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 行政等级(国道、省道、县道、乡道) */
@Schema(description = "行政等级(国道、省道、县道、乡道)")
private Integer adminLevel;
/** 道路长度(㎞) */
@Schema(description = "道路长度(㎞)")
private BigDecimal roadLen;
/** 路基 */
@Schema(description = "路基")
private String subgrade;
/** 路面 */
@Schema(description = "路面")
private String pavement;
/** 主要构筑物 */
@Schema(description = "主要构筑物")
private String majorStructure;
/** 沿线设施 */
@Schema(description = "沿线设施")
private String roadsideFacility;
/** 沿线环境 */
@Schema(description = "沿线环境")
private String roadsideEnv;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,59 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 路段信息表分页查询
*/
@Data
@Schema(description = "路段信息表分页查询")
public class RoadSectionPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段编码 */
@Schema(description = "路段编码")
private String sectionCode;
/** 路段名称 */
@Schema(description = "路段名称")
private String sectionName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 路段长度(㎞) */
@Schema(description = "路段长度(㎞)")
private BigDecimal sectionLen;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
}
@@ -0,0 +1,81 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 路段信息表
*/
@Data
@Schema(description = "路段信息表")
public class RoadSectionResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段编码 */
@Schema(description = "路段编码")
private String sectionCode;
/** 路段名称 */
@Schema(description = "路段名称")
private String sectionName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 路段长度(㎞) */
@Schema(description = "路段长度(㎞)")
private BigDecimal sectionLen;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,61 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 路段信息表保存参数
*/
@Data
@Schema(description = "路段信息表保存参数")
public class RoadSectionSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段编码 */
@Schema(description = "路段编码")
private String sectionCode;
/** 路段名称 */
@Schema(description = "路段名称")
private String sectionName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 路段长度(㎞) */
@Schema(description = "路段长度(㎞)")
private BigDecimal sectionLen;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 排序 */
@Schema(description = "排序")
private Integer orderNum;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,67 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 改扩建信息表分页查询
*/
@Data
@Schema(description = "改扩建信息表分页查询")
public class RoadUpgradingPageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 项目编码 */
@Schema(description = "项目编码")
private String projectCode;
/** 项目名称 */
@Schema(description = "项目名称")
private String projectName;
/** 项目类型(新建、改建、扩建、路面改造、加宽、改线) */
@Schema(description = "项目类型(新建、改建、扩建、路面改造、加宽、改线)")
private Integer projectType;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 项目来源 */
@Schema(description = "项目来源")
private String projectSource;
/** 开工日期 */
@Schema(description = "开工日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate commencementDate;
/** 竣工日期 */
@Schema(description = "竣工日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate completionDate;
/** 验收日期 */
@Schema(description = "验收日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate handoverDate;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
}
@@ -0,0 +1,91 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 改扩建信息表
*/
@Data
@Schema(description = "改扩建信息表")
public class RoadUpgradingResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 项目编码 */
@Schema(description = "项目编码")
private String projectCode;
/** 项目名称 */
@Schema(description = "项目名称")
private String projectName;
/** 项目类型(新建、改建、扩建、路面改造、加宽、改线) */
@Schema(description = "项目类型(新建、改建、扩建、路面改造、加宽、改线)")
private Integer projectType;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 项目来源 */
@Schema(description = "项目来源")
private String projectSource;
/** 开工日期 */
@Schema(description = "开工日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate commencementDate;
/** 竣工日期 */
@Schema(description = "竣工日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate completionDate;
/** 验收日期 */
@Schema(description = "验收日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate handoverDate;
/** 工程内容 */
@Schema(description = "工程内容")
private String content;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}
@@ -0,0 +1,73 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 改扩建信息表保存参数
*/
@Data
@Schema(description = "改扩建信息表保存参数")
public class RoadUpgradingSaveReq {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 项目编码 */
@Schema(description = "项目编码")
private String projectCode;
/** 项目名称 */
@Schema(description = "项目名称")
private String projectName;
/** 项目类型(新建、改建、扩建、路面改造、加宽、改线) */
@Schema(description = "项目类型(新建、改建、扩建、路面改造、加宽、改线)")
private Integer projectType;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 项目来源 */
@Schema(description = "项目来源")
private String projectSource;
/** 开工日期 */
@Schema(description = "开工日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate commencementDate;
/** 竣工日期 */
@Schema(description = "竣工日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate completionDate;
/** 验收日期 */
@Schema(description = "验收日期")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate handoverDate;
/** 工程内容 */
@Schema(description = "工程内容")
private String content;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 备注 */
@Schema(description = "备注")
private String remark;
}
@@ -0,0 +1,83 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 边坡信息表分页查询
*/
@Data
@Schema(description = "边坡信息表分页查询")
public class SlopePageReq {
@Schema(description = "页码,从 1 开始")
private Long pageNo = 1L;
@Schema(description = "每页条数")
private Long pageSize = 10L;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 边坡编码 */
@Schema(description = "边坡编码")
private String slopeCode;
/** 边坡名称 */
@Schema(description = "边坡名称")
private String slopeName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 边坡类型(挖方边坡、填方边坡 、半填半挖边坡) */
@Schema(description = "边坡类型(挖方边坡、填方边坡 、半填半挖边坡)")
private Integer slopeType;
/** 边坡位置(左侧、右侧、中央分隔带) */
@Schema(description = "边坡位置(左侧、右侧、中央分隔带)")
private Integer slopePosition;
/** 边坡高度(m) */
@Schema(description = "边坡高度(m)")
private BigDecimal slopeHeight;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
}
@@ -0,0 +1,105 @@
package com.wanji.software.tocc.infra.maint.model.dto;
import java.math.BigDecimal;
import java.time.LocalDate;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
/**
* 边坡信息表
*/
@Data
@Schema(description = "边坡信息表")
public class SlopeResp {
/** 主键 */
@Schema(description = "主键")
private String id;
/** 管养单位ID */
@Schema(description = "管养单位ID")
private String deptId;
/** 道路ID */
@Schema(description = "道路ID")
private String roadId;
/** 路段ID */
@Schema(description = "路段ID")
private String roadSectionId;
/** 边坡编码 */
@Schema(description = "边坡编码")
private String slopeCode;
/** 边坡名称 */
@Schema(description = "边坡名称")
private String slopeName;
/** 起点桩号 */
@Schema(description = "起点桩号")
private String chainageStart;
/** 终点桩号 */
@Schema(description = "终点桩号")
private String chainageEnd;
/** 边坡类型(挖方边坡、填方边坡 、半填半挖边坡) */
@Schema(description = "边坡类型(挖方边坡、填方边坡 、半填半挖边坡)")
private Integer slopeType;
/** 边坡位置(左侧、右侧、中央分隔带) */
@Schema(description = "边坡位置(左侧、右侧、中央分隔带)")
private Integer slopePosition;
/** 边坡高度(m) */
@Schema(description = "边坡高度(m)")
private BigDecimal slopeHeight;
/** 行政区划ID */
@Schema(description = "行政区划ID")
private String regionId;
/** 经度 */
@Schema(description = "经度")
private BigDecimal longitude;
/** 纬度 */
@Schema(description = "纬度")
private BigDecimal latitude;
/** 状态(在建、在用、停用、待拆除、灭失) */
@Schema(description = "状态(在建、在用、停用、待拆除、灭失)")
private Integer status;
/** 技术状态(优、良、中、次、差) */
@Schema(description = "技术状态(优、良、中、次、差)")
private Integer techStatus;
/** 附件 */
@Schema(description = "附件")
private String attacmentIds;
/** 备注 */
@Schema(description = "备注")
private String remark;
/** 创建人 */
@Schema(description = "创建人")
private String createBy;
/** 创建时间 */
@Schema(description = "创建时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate createTime;
/** 最近修改人 */
@Schema(description = "最近修改人")
private String updateBy;
/** 最近修改时间 */
@Schema(description = "最近修改时间")
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate updateTime;
}

Some files were not shown because too many files have changed in this diff Show More