-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
142 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...web-server/trip-web-entity/src/main/java/cn/zm/trip/entity/dto/ScenicSpotCommentsDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package cn.zm.trip.entity.dto; | ||
|
||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.Data; | ||
import lombok.experimental.Accessors; | ||
|
||
import javax.validation.Valid; | ||
|
||
@Data | ||
@Accessors(chain = true) | ||
@ApiModel(value="ScenicSpotCommentsDTO对象", description="业务-景区评论关联实体") | ||
public class ScenicSpotCommentsDTO { | ||
@ApiModelProperty(value = "基础-景点") | ||
@Valid | ||
private BaseScenicSpotDTO scenicSpotDTO; | ||
|
||
@Valid | ||
@ApiModelProperty(value = "业务-评论") | ||
private BusCommentsDTO commentsDTO; | ||
} | ||
|
31 changes: 31 additions & 0 deletions
31
...server/trip-web-entity/src/main/java/cn/zm/trip/entity/dto/ScenicSpotCommentsUserDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package cn.zm.trip.entity.dto; | ||
|
||
import cn.zm.mybatis.utils.ObjectConvert; | ||
import cn.zm.trip.entity.ViewScenicSpotCommentsUser; | ||
import com.baomidou.mybatisplus.annotation.TableName; | ||
import io.swagger.annotations.ApiModel; | ||
import io.swagger.annotations.ApiModelProperty; | ||
import lombok.Data; | ||
import lombok.experimental.Accessors; | ||
|
||
import javax.validation.Valid; | ||
|
||
@Data | ||
@Accessors(chain = true) | ||
@ApiModel(value="ScenicSpotCommentsUserDTO对象") | ||
public class ScenicSpotCommentsUserDTO { | ||
@ApiModelProperty(value = "基础-用户") | ||
@Valid | ||
private BaseUserDTO userDTO; | ||
|
||
@ApiModelProperty(value = "基础-景点") | ||
@Valid | ||
private BaseScenicSpotDTO scenicSpotDTO; | ||
|
||
@Valid | ||
@ApiModelProperty(value = "业务-评论") | ||
private BusCommentsDTO commentsDTO; | ||
|
||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters