From 5b84fa9358cf49528e325fd277eaa81677ff60ae Mon Sep 17 00:00:00 2001 From: ronger Date: Thu, 9 Apr 2020 18:50:13 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=B1=9E=E6=80=A7=E5=90=8D=E5=8F=98?= =?UTF-8?q?=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/rymcu/vertical/dto/PortfolioDTO.java | 4 ++-- .../com/rymcu/vertical/entity/Portfolio.java | 5 +++-- src/main/java/mapper/PortfolioMapper.xml | 16 ++++++++-------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/rymcu/vertical/dto/PortfolioDTO.java b/src/main/java/com/rymcu/vertical/dto/PortfolioDTO.java index 772f46a..2b6b486 100644 --- a/src/main/java/com/rymcu/vertical/dto/PortfolioDTO.java +++ b/src/main/java/com/rymcu/vertical/dto/PortfolioDTO.java @@ -20,9 +20,9 @@ public class PortfolioDTO { /** 作品集作者头像 */ private String portfolioAuthorAvatarUrl; /** 作品集名称 */ - private String name; + private String portfolioTitle; /** 作品集介绍 */ - private String description; + private String portfolioDescription; /** 更新时间 */ private Date updatedTime; /** 过去时长 */ diff --git a/src/main/java/com/rymcu/vertical/entity/Portfolio.java b/src/main/java/com/rymcu/vertical/entity/Portfolio.java index 5d37ca6..c18877a 100644 --- a/src/main/java/com/rymcu/vertical/entity/Portfolio.java +++ b/src/main/java/com/rymcu/vertical/entity/Portfolio.java @@ -20,13 +20,14 @@ public class Portfolio { @Column(name = "id") private Integer idPortfolio; /** 作品集头像 */ + @Column(name = "portfolio_head_img_url") private String headImgUrl; /** 作品集名称 */ - private String name; + private String portfolioTitle; /** 作品集作者 */ private Integer portfolioAuthorId; /** 作品集介绍 */ - private String description; + private String portfolioDescription; /** 创建时间 */ private Date createdTime; /** 更新时间 */ diff --git a/src/main/java/mapper/PortfolioMapper.xml b/src/main/java/mapper/PortfolioMapper.xml index e78ece3..9ecb377 100644 --- a/src/main/java/mapper/PortfolioMapper.xml +++ b/src/main/java/mapper/PortfolioMapper.xml @@ -3,26 +3,26 @@ - - + + - + - - + + - +