Skip to content

Commit

Permalink
[SWM-388] Fix : uniformed into a camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
Son-GyeongSik committed Oct 31, 2023
1 parent fe616ae commit 87026c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/m9d/sroom/common/entity/PlaylistEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class PlaylistEntity {

private Timestamp updatedAt;

private Float average_rating;
private Float averageRating;

public static RowMapper<PlaylistEntity> getRowMapper() {
return (rs, rowNum) -> PlaylistEntity.builder()
Expand All @@ -58,7 +58,7 @@ public static RowMapper<PlaylistEntity> getRowMapper() {
.title(rs.getString("title"))
.publishedAt(rs.getTimestamp("published_at"))
.videoCount(rs.getInt("video_count"))
.average_rating(rs.getFloat("average_rating"))
.averageRating(rs.getFloat("average_rating"))
.build();
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/m9d/sroom/common/entity/VideoEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class VideoEntity {

private Integer materialStatus;

private Float average_rating;
private Float averageRating;

public static RowMapper<VideoEntity> getRowMapper() {
return (rs, rowNum) -> VideoEntity.builder()
Expand All @@ -78,7 +78,7 @@ public static RowMapper<VideoEntity> getRowMapper() {
.publishedAt(rs.getTimestamp("published_at"))
.membership(rs.getBoolean("membership"))
.materialStatus(rs.getInt("material_status"))
.average_rating(rs.getFloat("average_rating"))
.averageRating(rs.getFloat("average_rating"))
.build();
}

Expand Down

0 comments on commit 87026c0

Please sign in to comment.