init
This commit is contained in:
3
sl-express-ms-transport-info-domain/.gitignore
vendored
Normal file
3
sl-express-ms-transport-info-domain/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.idea
|
||||
target/
|
||||
*.iml
|
29
sl-express-ms-transport-info-domain/pom.xml
Normal file
29
sl-express-ms-transport-info-domain/pom.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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.sl-express</groupId>
|
||||
<artifactId>sl-express-parent</artifactId>
|
||||
<version>1.4</version>
|
||||
</parent>
|
||||
|
||||
<groupId>com.sl-express.ms.transport-info</groupId>
|
||||
<artifactId>sl-express-ms-transport-info-domain</artifactId>
|
||||
<version>1.1-SNAPSHOT</version>
|
||||
<description>运输信息微服务 - domain对象</description>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>11</maven.compiler.source>
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.github.xiaoymin</groupId>
|
||||
<artifactId>knife4j-spring-boot-starter</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
@@ -0,0 +1,16 @@
|
||||
package com.sl.transport.info.domain;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class TransportInfoDTO {
|
||||
|
||||
@ApiModelProperty(value = "运单id", required = true)
|
||||
private String transportOrderId;
|
||||
@ApiModelProperty(value = "info信息列表", required = true)
|
||||
private List<TransportInfoDetailDTO> infoList;
|
||||
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
package com.sl.transport.info.domain;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class TransportInfoDetailDTO {
|
||||
|
||||
@ApiModelProperty(value = "创建时间,时间戳", required = true)
|
||||
private Long created;
|
||||
@ApiModelProperty(value = "详细信息", example = "例如:您的快件已到达【北京通州分拣中心】", required = true)
|
||||
private String info;
|
||||
@ApiModelProperty(value = "状态,", example = "例如:运输中", required = true)
|
||||
private String status;
|
||||
|
||||
}
|
Reference in New Issue
Block a user