Jelajahi Sumber

更新实体类

jelly 3 tahun lalu
induk
melakukan
8255f62f2f

+ 31 - 23
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/AlbumFavorite.java

@@ -1,35 +1,43 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 专辑收藏表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:56
  * @version v1.0
  **/
+@ApiModel(value = "album_favorite-专辑收藏表")
 public class AlbumFavorite extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 用户ID(目前只是学生ID)
-     */
-	private Long userId;
-    /**
-     * 专辑ID
-     */
-	private Long albumId;
-    /**
-     * 收藏时间
-     */
-	private java.util.Date favoriteTime;
-    /**
-     * 是否收藏
-     */
-	private Integer favoriteFlag;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("user_id_")
+    @ApiModelProperty(value = "用户ID(目前只是学生ID)")
+    private Long userId;  //用户ID(目前只是学生ID)
+
+    @TableField("album_id_")
+    @ApiModelProperty(value = "专辑ID")
+    private Long albumId;  //专辑ID
+
+    @TableField("favorite_time_")
+    @ApiModelProperty(value = "收藏时间")
+    private Date favoriteTime;  //收藏时间
+
+    @TableField("favorite_flag_")
+    @ApiModelProperty(value = "是否收藏")
+    private Integer favoriteFlag;  //是否收藏
+
 
 	public AlbumFavorite setId(Long id) {
 	    this.id = id;
@@ -55,12 +63,12 @@ public class AlbumFavorite extends BaseEntity {
 	public Long getAlbumId() {
 	    return this.albumId;
 	}
-	public AlbumFavorite setFavoriteTime(java.util.Date favoriteTime) {
+	public AlbumFavorite setFavoriteTime(Date favoriteTime) {
 	    this.favoriteTime = favoriteTime;
 	    return this;
 	}
 
-	public java.util.Date getFavoriteTime() {
+	public Date getFavoriteTime() {
 	    return this.favoriteTime;
 	}
 	public AlbumFavorite setFavoriteFlag(Integer favoriteFlag) {

+ 35 - 27
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/AlbumMusicRelate.java

@@ -1,39 +1,47 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 专辑曲谱关联表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:56
  * @version v1.0
  **/
+@ApiModel(value = "album_music_relate-专辑曲谱关联表")
 public class AlbumMusicRelate extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 专辑ID
-     */
-	private Long albumId;
-    /**
-     * 曲谱ID
-     */
-	private Long musicSheetId;
-    /**
-     * 排序号
-     */
-	private Integer sortNumber;
-    /**
-     * 添加时间
-     */
-	private java.util.Date createTime;
-    /**
-     * 添加人
-     */
-	private Long createBy;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("album_id_")
+    @ApiModelProperty(value = "专辑ID")
+    private Long albumId;  //专辑ID
+
+    @TableField("music_sheet_id_")
+    @ApiModelProperty(value = "曲谱ID")
+    private Long musicSheetId;  //曲谱ID
+
+    @TableField("sort_number_")
+    @ApiModelProperty(value = "排序号")
+    private Integer sortNumber;  //排序号
+
+    @TableField("create_time_")
+    @ApiModelProperty(value = "添加时间")
+    private Date createTime;  //添加时间
+
+    @TableField("create_by_")
+    @ApiModelProperty(value = "添加人")
+    private Long createBy;  //添加人
+
 
 	public AlbumMusicRelate setId(Long id) {
 	    this.id = id;
@@ -67,12 +75,12 @@ public class AlbumMusicRelate extends BaseEntity {
 	public Integer getSortNumber() {
 	    return this.sortNumber;
 	}
-	public AlbumMusicRelate setCreateTime(java.util.Date createTime) {
+	public AlbumMusicRelate setCreateTime(Date createTime) {
 	    this.createTime = createTime;
 	    return this;
 	}
 
-	public java.util.Date getCreateTime() {
+	public Date getCreateTime() {
 	    return this.createTime;
 	}
 	public AlbumMusicRelate setCreateBy(Long createBy) {

+ 65 - 57
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/MusicAlbum.java

@@ -1,67 +1,75 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 专辑表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:56
  * @version v1.0
  **/
+@ApiModel(value = "music_album-专辑表")
 public class MusicAlbum extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 专辑名称
-     */
-	private String albumName;
-    /**
-     * 专辑简介
-     */
-	private String albumDesc;
-    /**
-     * 专辑标签(多个标签以逗号分开)
-     */
-	private String albumTag;
-    /**
-     * 专辑封面图片URL
-     */
-	private String albumCoverUrl;
-    /**
-     * 专辑状态(1:启用;0:停用)
-     */
-	private Integer albumStatus;
-    /**
-     * 排序号
-     */
-	private Integer sortNumber;
-    /**
-     * 是否热门专辑(1:是;0:否)
-     */
-	private Integer hotFlag;
-    /**
-     * 是否置顶(1:是;0:否)
-     */
-	private Integer topFlag;
-    /**
-     * 创建时间
-     */
-	private java.util.Date createTime;
-    /**
-     * 创建人
-     */
-	private Long createBy;
-    /**
-     * 更新时间
-     */
-	private java.util.Date updateTime;
-    /**
-     * 更新人
-     */
-	private Long updateBy;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("album_name_")
+    @ApiModelProperty(value = "专辑名称")
+    private String albumName;  //专辑名称
+
+    @TableField("album_desc_")
+    @ApiModelProperty(value = "专辑简介")
+    private String albumDesc;  //专辑简介
+
+    @TableField("album_tag_")
+    @ApiModelProperty(value = "专辑标签(多个标签以逗号分开)")
+    private String albumTag;  //专辑标签(多个标签以逗号分开)
+
+    @TableField("album_cover_url_")
+    @ApiModelProperty(value = "专辑封面图片URL")
+    private String albumCoverUrl;  //专辑封面图片URL
+
+    @TableField("album_status_")
+    @ApiModelProperty(value = "专辑状态(1:启用;0:停用)")
+    private Integer albumStatus;  //专辑状态(1:启用;0:停用)
+
+    @TableField("sort_number_")
+    @ApiModelProperty(value = "排序号")
+    private Integer sortNumber;  //排序号
+
+    @TableField("hot_flag_")
+    @ApiModelProperty(value = "是否热门专辑(1:是;0:否)")
+    private Integer hotFlag;  //是否热门专辑(1:是;0:否)
+
+    @TableField("top_flag_")
+    @ApiModelProperty(value = "是否置顶(1:是;0:否)")
+    private Integer topFlag;  //是否置顶(1:是;0:否)
+
+    @TableField("create_time_")
+    @ApiModelProperty(value = "创建时间")
+    private Date createTime;  //创建时间
+
+    @TableField("create_by_")
+    @ApiModelProperty(value = "创建人")
+    private Long createBy;  //创建人
+
+    @TableField("update_time_")
+    @ApiModelProperty(value = "更新时间")
+    private Date updateTime;  //更新时间
+
+    @TableField("update_by_")
+    @ApiModelProperty(value = "更新人")
+    private Long updateBy;  //更新人
+
 
 	public MusicAlbum setId(Long id) {
 	    this.id = id;
@@ -135,12 +143,12 @@ public class MusicAlbum extends BaseEntity {
 	public Integer getTopFlag() {
 	    return this.topFlag;
 	}
-	public MusicAlbum setCreateTime(java.util.Date createTime) {
+	public MusicAlbum setCreateTime(Date createTime) {
 	    this.createTime = createTime;
 	    return this;
 	}
 
-	public java.util.Date getCreateTime() {
+	public Date getCreateTime() {
 	    return this.createTime;
 	}
 	public MusicAlbum setCreateBy(Long createBy) {
@@ -151,12 +159,12 @@ public class MusicAlbum extends BaseEntity {
 	public Long getCreateBy() {
 	    return this.createBy;
 	}
-	public MusicAlbum setUpdateTime(java.util.Date updateTime) {
+	public MusicAlbum setUpdateTime(Date updateTime) {
 	    this.updateTime = updateTime;
 	    return this;
 	}
 
-	public java.util.Date getUpdateTime() {
+	public Date getUpdateTime() {
 	    return this.updateTime;
 	}
 	public MusicAlbum setUpdateBy(Long updateBy) {

+ 31 - 23
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/MusicFavorite.java

@@ -1,35 +1,43 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 乐谱收藏表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:56
  * @version v1.0
  **/
+@ApiModel(value = "music_favorite-乐谱收藏表")
 public class MusicFavorite extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 用户ID(目前只是学生ID)
-     */
-	private Long userId;
-    /**
-     * 曲谱ID
-     */
-	private Long musicSheetId;
-    /**
-     * 收藏时间
-     */
-	private java.util.Date favoriteTime;
-    /**
-     * 是否收藏(1:收藏;0:取消收藏)
-     */
-	private Integer favoriteFlag;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("user_id_")
+    @ApiModelProperty(value = "用户ID(目前只是学生ID)")
+    private Long userId;  //用户ID(目前只是学生ID)
+
+    @TableField("music_sheet_id_")
+    @ApiModelProperty(value = "曲谱ID")
+    private Long musicSheetId;  //曲谱ID
+
+    @TableField("favorite_time_")
+    @ApiModelProperty(value = "收藏时间")
+    private Date favoriteTime;  //收藏时间
+
+    @TableField("favorite_flag_")
+    @ApiModelProperty(value = "是否收藏(1:收藏;0:取消收藏)")
+    private Integer favoriteFlag;  //是否收藏(1:收藏;0:取消收藏)
+
 
 	public MusicFavorite setId(Long id) {
 	    this.id = id;
@@ -55,12 +63,12 @@ public class MusicFavorite extends BaseEntity {
 	public Long getMusicSheetId() {
 	    return this.musicSheetId;
 	}
-	public MusicFavorite setFavoriteTime(java.util.Date favoriteTime) {
+	public MusicFavorite setFavoriteTime(Date favoriteTime) {
 	    this.favoriteTime = favoriteTime;
 	    return this;
 	}
 
-	public java.util.Date getFavoriteTime() {
+	public Date getFavoriteTime() {
 	    return this.favoriteTime;
 	}
 	public MusicFavorite setFavoriteFlag(Integer favoriteFlag) {

+ 109 - 101
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/MusicSheet.java

@@ -1,111 +1,119 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 曲谱表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:56
  * @version v1.0
  **/
+@ApiModel(value = "music_sheet-曲谱表")
 public class MusicSheet extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 曲谱名称
-     */
-	private String musicSheetName;
-    /**
-     * 曲谱来源(0:平台;非0:老师ID)
-     */
-	private Long userId;
-    /**
-     * 作曲人
-     */
-	private String composer;
-    /**
-     * 曲谱声部(适用的乐器,可能是多个,用逗号分隔)
-     */
-	private String musicSubject;
-    /**
-     * 曲谱音频文件类型(midi;mp3)
-     */
-	private String audioType;
-    /**
-     * 曲谱标签(多个标签用逗号分隔)
-     */
-	private String musicTag;
-    /**
-     * 默认播放速度
-     */
-	private Integer playSpeed;
-    /**
-     * 是否可以评测(0:否;1:是)
-     */
-	private Integer canEvaluate;
-    /**
-     * 是否展示指法(0:否;1:是)
-     */
-	private Integer showFingering;
-    /**
-     * 收费类型(0:免费;1:会员;2:单曲收费)
-     */
-	private Integer chargeType;
-    /**
-     * 审核状态
-     */
-	private Integer auditStatus;
-    /**
-     * 排序号
-     */
-	private Integer sortNumber;
-    /**
-     * 是否置顶(0:否;1:是)
-     */
-	private Integer topFlag;
-    /**
-     * 是否热门曲谱(0:否;1:是)
-     */
-	private Integer hotFlag;
-    /**
-     * 曲谱价格
-     */
-	private java.math.BigDecimal musicPrice;
-    /**
-     * 音频文件存储路径
-     */
-	private String audioFileUrl;
-    /**
-     * XML文件存储路径
-     */
-	private String xmlFileUrl;
-    /**
-     * 是否自带节拍器(0:否;1:是)
-     */
-	private Integer hasBeat;
-    /**
-     * 创建时间
-     */
-	private java.util.Date createTime;
-    /**
-     * 创建人(老师或者是后台平台用户)
-     */
-	private Long createBy;
-    /**
-     * 更新时间
-     */
-	private java.util.Date updateTime;
-    /**
-     * 更新人(老师或者是后台平台用户)
-     */
-	private Long updateBy;
-    /**
-     * 备注
-     */
-	private String remark;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("music_sheet_name_")
+    @ApiModelProperty(value = "曲谱名称")
+    private String musicSheetName;  //曲谱名称
+
+    @TableField("user_id_")
+    @ApiModelProperty(value = "曲谱来源(0:平台;非0:老师ID)")
+    private Long userId;  //曲谱来源(0:平台;非0:老师ID)
+
+    @TableField("composer_")
+    @ApiModelProperty(value = "作曲人")
+    private String composer;  //作曲人
+
+    @TableField("music_subject_")
+    @ApiModelProperty(value = "曲谱声部(适用的乐器,可能是多个,用逗号分隔)")
+    private String musicSubject;  //曲谱声部(适用的乐器,可能是多个,用逗号分隔)
+
+    @TableField("audio_type_")
+    @ApiModelProperty(value = "曲谱音频文件类型(midi;mp3)")
+    private String audioType;  //曲谱音频文件类型(midi;mp3)
+
+    @TableField("music_tag_")
+    @ApiModelProperty(value = "曲谱标签(多个标签用逗号分隔)")
+    private String musicTag;  //曲谱标签(多个标签用逗号分隔)
+
+    @TableField("play_speed_")
+    @ApiModelProperty(value = "默认播放速度")
+    private Integer playSpeed;  //默认播放速度
+
+    @TableField("can_evaluate_")
+    @ApiModelProperty(value = "是否可以评测(0:否;1:是)")
+    private Integer canEvaluate;  //是否可以评测(0:否;1:是)
+
+    @TableField("show_fingering_")
+    @ApiModelProperty(value = "是否展示指法(0:否;1:是)")
+    private Integer showFingering;  //是否展示指法(0:否;1:是)
+
+    @TableField("charge_type_")
+    @ApiModelProperty(value = "收费类型(0:免费;1:会员;2:单曲收费)")
+    private Integer chargeType;  //收费类型(0:免费;1:会员;2:单曲收费)
+
+    @TableField("audit_status_")
+    @ApiModelProperty(value = "审核状态")
+    private Integer auditStatus;  //审核状态
+
+    @TableField("sort_number_")
+    @ApiModelProperty(value = "排序号")
+    private Integer sortNumber;  //排序号
+
+    @TableField("top_flag_")
+    @ApiModelProperty(value = "是否置顶(0:否;1:是)")
+    private Integer topFlag;  //是否置顶(0:否;1:是)
+
+    @TableField("hot_flag_")
+    @ApiModelProperty(value = "是否热门曲谱(0:否;1:是)")
+    private Integer hotFlag;  //是否热门曲谱(0:否;1:是)
+
+    @TableField("music_price_")
+    @ApiModelProperty(value = "曲谱价格")
+    private java.math.BigDecimal musicPrice;  //曲谱价格
+
+    @TableField("audio_file_url_")
+    @ApiModelProperty(value = "音频文件存储路径")
+    private String audioFileUrl;  //音频文件存储路径
+
+    @TableField("xml_file_url_")
+    @ApiModelProperty(value = "XML文件存储路径")
+    private String xmlFileUrl;  //XML文件存储路径
+
+    @TableField("has_beat_")
+    @ApiModelProperty(value = "是否自带节拍器(0:否;1:是)")
+    private Integer hasBeat;  //是否自带节拍器(0:否;1:是)
+
+    @TableField("create_time_")
+    @ApiModelProperty(value = "创建时间")
+    private Date createTime;  //创建时间
+
+    @TableField("create_by_")
+    @ApiModelProperty(value = "创建人(老师或者是后台平台用户)")
+    private Long createBy;  //创建人(老师或者是后台平台用户)
+
+    @TableField("update_time_")
+    @ApiModelProperty(value = "更新时间")
+    private Date updateTime;  //更新时间
+
+    @TableField("update_by_")
+    @ApiModelProperty(value = "更新人(老师或者是后台平台用户)")
+    private Long updateBy;  //更新人(老师或者是后台平台用户)
+
+    @TableField("remark_")
+    @ApiModelProperty(value = "备注")
+    private String remark;  //备注
+
 
 	public MusicSheet setId(Long id) {
 	    this.id = id;
@@ -259,12 +267,12 @@ public class MusicSheet extends BaseEntity {
 	public Integer getHasBeat() {
 	    return this.hasBeat;
 	}
-	public MusicSheet setCreateTime(java.util.Date createTime) {
+	public MusicSheet setCreateTime(Date createTime) {
 	    this.createTime = createTime;
 	    return this;
 	}
 
-	public java.util.Date getCreateTime() {
+	public Date getCreateTime() {
 	    return this.createTime;
 	}
 	public MusicSheet setCreateBy(Long createBy) {
@@ -275,12 +283,12 @@ public class MusicSheet extends BaseEntity {
 	public Long getCreateBy() {
 	    return this.createBy;
 	}
-	public MusicSheet setUpdateTime(java.util.Date updateTime) {
+	public MusicSheet setUpdateTime(Date updateTime) {
 	    this.updateTime = updateTime;
 	    return this;
 	}
 
-	public java.util.Date getUpdateTime() {
+	public Date getUpdateTime() {
 	    return this.updateTime;
 	}
 	public MusicSheet setUpdateBy(Long updateBy) {

+ 39 - 31
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/MusicSheetAccompaniment.java

@@ -1,43 +1,51 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 曲谱伴奏表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:56
  * @version v1.0
  **/
+@ApiModel(value = "music_sheet_accompaniment-曲谱伴奏表")
 public class MusicSheetAccompaniment extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 曲谱ID
-     */
-	private Long musicSheetId;
-    /**
-     * 声部
-     */
-	private String musicSubject;
-    /**
-     * MP3原声音频文件URL
-     */
-	private String audioFileUrl;
-    /**
-     * 排序号
-     */
-	private Integer sortNumber;
-    /**
-     * 创建时间
-     */
-	private java.util.Date createTime;
-    /**
-     * 创建人(老师或者是后台平台用户)
-     */
-	private Long createBy;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("music_sheet_id_")
+    @ApiModelProperty(value = "曲谱ID")
+    private Long musicSheetId;  //曲谱ID
+
+    @TableField("music_subject_")
+    @ApiModelProperty(value = "声部")
+    private String musicSubject;  //声部
+
+    @TableField("audio_file_url_")
+    @ApiModelProperty(value = "MP3原声音频文件URL")
+    private String audioFileUrl;  //MP3原声音频文件URL
+
+    @TableField("sort_number_")
+    @ApiModelProperty(value = "排序号")
+    private Integer sortNumber;  //排序号
+
+    @TableField("create_time_")
+    @ApiModelProperty(value = "创建时间")
+    private Date createTime;  //创建时间
+
+    @TableField("create_by_")
+    @ApiModelProperty(value = "创建人(老师或者是后台平台用户)")
+    private Long createBy;  //创建人(老师或者是后台平台用户)
+
 
 	public MusicSheetAccompaniment setId(Long id) {
 	    this.id = id;
@@ -79,12 +87,12 @@ public class MusicSheetAccompaniment extends BaseEntity {
 	public Integer getSortNumber() {
 	    return this.sortNumber;
 	}
-	public MusicSheetAccompaniment setCreateTime(java.util.Date createTime) {
+	public MusicSheetAccompaniment setCreateTime(Date createTime) {
 	    this.createTime = createTime;
 	    return this;
 	}
 
-	public java.util.Date getCreateTime() {
+	public Date getCreateTime() {
 	    return this.createTime;
 	}
 	public MusicSheetAccompaniment setCreateBy(Long createBy) {

+ 43 - 35
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/MusicSheetPurchaseRecord.java

@@ -1,47 +1,55 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 曲谱购买记录表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:57
  * @version v1.0
  **/
+@ApiModel(value = "music_sheet_purchase_record-曲谱购买记录表")
 public class MusicSheetPurchaseRecord extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 曲谱ID
-     */
-	private Long musicSheetId;
-    /**
-     * 老师ID
-     */
-	private Long teacherId;
-    /**
-     * 订单流水号
-     */
-	private String orderNo;
-    /**
-     * 学生ID
-     */
-	private Long studentId;
-    /**
-     * 购买时间
-     */
-	private java.util.Date purchaseTime;
-    /**
-     * 购买价格
-     */
-	private java.math.BigDecimal purchasePrice;
-    /**
-     * 订单状态(1:已完成;0:取消)
-     */
-	private Integer orderStatus;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("music_sheet_id_")
+    @ApiModelProperty(value = "曲谱ID")
+    private Long musicSheetId;  //曲谱ID
+
+    @TableField("teacher_id_")
+    @ApiModelProperty(value = "老师ID")
+    private Long teacherId;  //老师ID
+
+    @TableField("order_no_")
+    @ApiModelProperty(value = "订单流水号")
+    private String orderNo;  //订单流水号
+
+    @TableField("student_id_")
+    @ApiModelProperty(value = "学生ID")
+    private Long studentId;  //学生ID
+
+    @TableField("purchase_time_")
+    @ApiModelProperty(value = "购买时间")
+    private Date purchaseTime;  //购买时间
+
+    @TableField("purchase_price_")
+    @ApiModelProperty(value = "购买价格")
+    private java.math.BigDecimal purchasePrice;  //购买价格
+
+    @TableField("order_status_")
+    @ApiModelProperty(value = "订单状态(1:已完成;0:取消)")
+    private Integer orderStatus;  //订单状态(1:已完成;0:取消)
+
 
 	public MusicSheetPurchaseRecord setId(Long id) {
 	    this.id = id;
@@ -83,12 +91,12 @@ public class MusicSheetPurchaseRecord extends BaseEntity {
 	public Long getStudentId() {
 	    return this.studentId;
 	}
-	public MusicSheetPurchaseRecord setPurchaseTime(java.util.Date purchaseTime) {
+	public MusicSheetPurchaseRecord setPurchaseTime(Date purchaseTime) {
 	    this.purchaseTime = purchaseTime;
 	    return this;
 	}
 
-	public java.util.Date getPurchaseTime() {
+	public Date getPurchaseTime() {
 	    return this.purchaseTime;
 	}
 	public MusicSheetPurchaseRecord setPurchasePrice(java.math.BigDecimal purchasePrice) {

+ 31 - 23
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/VideoLessonEvaluate.java

@@ -1,35 +1,43 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 视频课学员评价
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:57
  * @version v1.0
  **/
+@ApiModel(value = "video_lesson_evaluate-视频课学员评价")
 public class VideoLessonEvaluate extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 视频ID
-     */
-	private Long videoId;
-    /**
-     * 学生ID
-     */
-	private Long studentId;
-    /**
-     * 评价内容
-     */
-	private String content;
-    /**
-     * 评价时间
-     */
-	private java.util.Date evaluateTime;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("video_id_")
+    @ApiModelProperty(value = "视频ID")
+    private Long videoId;  //视频ID
+
+    @TableField("student_id_")
+    @ApiModelProperty(value = "学生ID")
+    private Long studentId;  //学生ID
+
+    @TableField("content_")
+    @ApiModelProperty(value = "评价内容")
+    private String content;  //评价内容
+
+    @TableField("evaluate_time_")
+    @ApiModelProperty(value = "评价时间")
+    private Date evaluateTime;  //评价时间
+
 
 	public VideoLessonEvaluate setId(Long id) {
 	    this.id = id;
@@ -63,12 +71,12 @@ public class VideoLessonEvaluate extends BaseEntity {
 	public String getContent() {
 	    return this.content;
 	}
-	public VideoLessonEvaluate setEvaluateTime(java.util.Date evaluateTime) {
+	public VideoLessonEvaluate setEvaluateTime(Date evaluateTime) {
 	    this.evaluateTime = evaluateTime;
 	    return this;
 	}
 
-	public java.util.Date getEvaluateTime() {
+	public Date getEvaluateTime() {
 	    return this.evaluateTime;
 	}
 

+ 73 - 65
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/VideoLessonGroup.java

@@ -1,75 +1,83 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 视频课基本信息表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:57
  * @version v1.0
  **/
+@ApiModel(value = "video_lesson_group-视频课基本信息表")
 public class VideoLessonGroup extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 课程名称
-     */
-	private String lessonName;
-    /**
-     * 课程声部
-     */
-	private String lessonSubject;
-    /**
-     * 课程介绍
-     */
-	private String lessonDesc;
-    /**
-     * 课程价格
-     */
-	private Integer lessonPrice;
-    /**
-     * 课程封面图片URL
-     */
-	private String lessonCoverUrl;
-    /**
-     * 老师ID
-     */
-	private Long teacherId;
-    /**
-     * 课程节数
-     */
-	private Integer lessonCount;
-    /**
-     * 排序号
-     */
-	private Integer sortNumber;
-    /**
-     * 课程标签
-     */
-	private String lessonTag;
-    /**
-     * 是否置顶
-     */
-	private Integer topFlag;
-    /**
-     * 是否热门课程
-     */
-	private Integer hotFlag;
-    /**
-     * 审核状态
-     */
-	private Integer auditStatus;
-    /**
-     * 创建时间
-     */
-	private java.util.Date createTime;
-    /**
-     * 更新时间
-     */
-	private java.util.Date updateTime;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("lesson_name_")
+    @ApiModelProperty(value = "课程名称")
+    private String lessonName;  //课程名称
+
+    @TableField("lesson_subject_")
+    @ApiModelProperty(value = "课程声部")
+    private String lessonSubject;  //课程声部
+
+    @TableField("lesson_desc_")
+    @ApiModelProperty(value = "课程介绍")
+    private String lessonDesc;  //课程介绍
+
+    @TableField("lesson_price_")
+    @ApiModelProperty(value = "课程价格")
+    private Integer lessonPrice;  //课程价格
+
+    @TableField("lesson_cover_url_")
+    @ApiModelProperty(value = "课程封面图片URL")
+    private String lessonCoverUrl;  //课程封面图片URL
+
+    @TableField("teacher_id_")
+    @ApiModelProperty(value = "老师ID")
+    private Long teacherId;  //老师ID
+
+    @TableField("lesson_count_")
+    @ApiModelProperty(value = "课程节数")
+    private Integer lessonCount;  //课程节数
+
+    @TableField("sort_number_")
+    @ApiModelProperty(value = "排序号")
+    private Integer sortNumber;  //排序号
+
+    @TableField("lesson_tag_")
+    @ApiModelProperty(value = "课程标签")
+    private String lessonTag;  //课程标签
+
+    @TableField("top_flag_")
+    @ApiModelProperty(value = "是否置顶")
+    private Integer topFlag;  //是否置顶
+
+    @TableField("hot_flag_")
+    @ApiModelProperty(value = "是否热门课程")
+    private Integer hotFlag;  //是否热门课程
+
+    @TableField("audit_status_")
+    @ApiModelProperty(value = "审核状态")
+    private Integer auditStatus;  //审核状态
+
+    @TableField("create_time_")
+    @ApiModelProperty(value = "创建时间")
+    private Date createTime;  //创建时间
+
+    @TableField("update_time_")
+    @ApiModelProperty(value = "更新时间")
+    private Date updateTime;  //更新时间
+
 
 	public VideoLessonGroup setId(Long id) {
 	    this.id = id;
@@ -175,20 +183,20 @@ public class VideoLessonGroup extends BaseEntity {
 	public Integer getAuditStatus() {
 	    return this.auditStatus;
 	}
-	public VideoLessonGroup setCreateTime(java.util.Date createTime) {
+	public VideoLessonGroup setCreateTime(Date createTime) {
 	    this.createTime = createTime;
 	    return this;
 	}
 
-	public java.util.Date getCreateTime() {
+	public Date getCreateTime() {
 	    return this.createTime;
 	}
-	public VideoLessonGroup setUpdateTime(java.util.Date updateTime) {
+	public VideoLessonGroup setUpdateTime(Date updateTime) {
 	    this.updateTime = updateTime;
 	    return this;
 	}
 
-	public java.util.Date getUpdateTime() {
+	public Date getUpdateTime() {
 	    return this.updateTime;
 	}
 

+ 61 - 53
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/VideoLessonGroupDetail.java

@@ -1,63 +1,71 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 视频课明细表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:57
  * @version v1.0
  **/
+@ApiModel(value = "video_lesson_group_detail-视频课明细表")
 public class VideoLessonGroupDetail extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 课程组ID
-     */
-	private Long videoLessonGroupId;
-    /**
-     * 视频标题
-     */
-	private String videoTitle;
-    /**
-     * 视频内容
-     */
-	private String videoContent;
-    /**
-     * 视频文件URL
-     */
-	private String videoUrl;
-    /**
-     * 视频封面图片URL
-     */
-	private String coverUrl;
-    /**
-     * 是否收费(1:收费;0:免费)
-     */
-	private Integer chargeFlag;
-    /**
-     * 排序号
-     */
-	private Integer sortNumber;
-    /**
-     * 创建人(老师ID)
-     */
-	private Long teacherId;
-    /**
-     * 创建时间
-     */
-	private java.util.Date createTime;
-    /**
-     * 更新人
-     */
-	private Long updateBy;
-    /**
-     * 更新时间
-     */
-	private java.util.Date updateTime;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("video_lesson_group_id_")
+    @ApiModelProperty(value = "课程组ID")
+    private Long videoLessonGroupId;  //课程组ID
+
+    @TableField("video_title_")
+    @ApiModelProperty(value = "视频标题")
+    private String videoTitle;  //视频标题
+
+    @TableField("video_content_")
+    @ApiModelProperty(value = "视频内容")
+    private String videoContent;  //视频内容
+
+    @TableField("video_url_")
+    @ApiModelProperty(value = "视频文件URL")
+    private String videoUrl;  //视频文件URL
+
+    @TableField("cover_url_")
+    @ApiModelProperty(value = "视频封面图片URL")
+    private String coverUrl;  //视频封面图片URL
+
+    @TableField("charge_flag_")
+    @ApiModelProperty(value = "是否收费(1:收费;0:免费)")
+    private Integer chargeFlag;  //是否收费(1:收费;0:免费)
+
+    @TableField("sort_number_")
+    @ApiModelProperty(value = "排序号")
+    private Integer sortNumber;  //排序号
+
+    @TableField("teacher_id_")
+    @ApiModelProperty(value = "创建人(老师ID)")
+    private Long teacherId;  //创建人(老师ID)
+
+    @TableField("create_time_")
+    @ApiModelProperty(value = "创建时间")
+    private Date createTime;  //创建时间
+
+    @TableField("update_by_")
+    @ApiModelProperty(value = "更新人")
+    private Long updateBy;  //更新人
+
+    @TableField("update_time_")
+    @ApiModelProperty(value = "更新时间")
+    private Date updateTime;  //更新时间
+
 
 	public VideoLessonGroupDetail setId(Long id) {
 	    this.id = id;
@@ -131,12 +139,12 @@ public class VideoLessonGroupDetail extends BaseEntity {
 	public Long getTeacherId() {
 	    return this.teacherId;
 	}
-	public VideoLessonGroupDetail setCreateTime(java.util.Date createTime) {
+	public VideoLessonGroupDetail setCreateTime(Date createTime) {
 	    this.createTime = createTime;
 	    return this;
 	}
 
-	public java.util.Date getCreateTime() {
+	public Date getCreateTime() {
 	    return this.createTime;
 	}
 	public VideoLessonGroupDetail setUpdateBy(Long updateBy) {
@@ -147,12 +155,12 @@ public class VideoLessonGroupDetail extends BaseEntity {
 	public Long getUpdateBy() {
 	    return this.updateBy;
 	}
-	public VideoLessonGroupDetail setUpdateTime(java.util.Date updateTime) {
+	public VideoLessonGroupDetail setUpdateTime(Date updateTime) {
 	    this.updateTime = updateTime;
 	    return this;
 	}
 
-	public java.util.Date getUpdateTime() {
+	public Date getUpdateTime() {
 	    return this.updateTime;
 	}
 

+ 39 - 31
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/VideoLessonPurchaseRecord.java

@@ -1,43 +1,51 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 视频课购买记录表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:57
  * @version v1.0
  **/
+@ApiModel(value = "video_lesson_purchase_record-视频课购买记录表")
 public class VideoLessonPurchaseRecord extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 视频课组ID
-     */
-	private Long videoLessonGroupId;
-    /**
-     * 学生ID
-     */
-	private Long studentId;
-    /**
-     * 购买时间
-     */
-	private java.util.Date purchaseTime;
-    /**
-     * 支付金额
-     */
-	private java.math.BigDecimal payMoney;
-    /**
-     * 订单流水号
-     */
-	private String orderNo;
-    /**
-     * 订单状态(1:已完成;0:取消)
-     */
-	private Integer orderStatus;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("video_lesson_group_id_")
+    @ApiModelProperty(value = "视频课组ID")
+    private Long videoLessonGroupId;  //视频课组ID
+
+    @TableField("student_id_")
+    @ApiModelProperty(value = "学生ID")
+    private Long studentId;  //学生ID
+
+    @TableField("purchase_time_")
+    @ApiModelProperty(value = "购买时间")
+    private Date purchaseTime;  //购买时间
+
+    @TableField("pay_money_")
+    @ApiModelProperty(value = "支付金额")
+    private java.math.BigDecimal payMoney;  //支付金额
+
+    @TableField("order_no_")
+    @ApiModelProperty(value = "订单流水号")
+    private String orderNo;  //订单流水号
+
+    @TableField("order_status_")
+    @ApiModelProperty(value = "订单状态(1:已完成;0:取消)")
+    private Integer orderStatus;  //订单状态(1:已完成;0:取消)
+
 
 	public VideoLessonPurchaseRecord setId(Long id) {
 	    this.id = id;
@@ -63,12 +71,12 @@ public class VideoLessonPurchaseRecord extends BaseEntity {
 	public Long getStudentId() {
 	    return this.studentId;
 	}
-	public VideoLessonPurchaseRecord setPurchaseTime(java.util.Date purchaseTime) {
+	public VideoLessonPurchaseRecord setPurchaseTime(Date purchaseTime) {
 	    this.purchaseTime = purchaseTime;
 	    return this;
 	}
 
-	public java.util.Date getPurchaseTime() {
+	public Date getPurchaseTime() {
 	    return this.purchaseTime;
 	}
 	public VideoLessonPurchaseRecord setPayMoney(java.math.BigDecimal payMoney) {

+ 41 - 33
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/entity/VideoLessonStudyRecord.java

@@ -1,43 +1,51 @@
 package com.yonge.cooleshow.biz.dal.entity;
 
 import com.yonge.cooleshow.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
 import org.apache.commons.lang3.builder.ToStringBuilder;
+import java.util.Date;
 
 /**
  * 视频课学习记录表
  * @author yzp
- * @date 2022-03-22 16:02:54
+ * @date 2022-03-22 17:55:57
  * @version v1.0
  **/
+@ApiModel(value = "video_lesson_study_record-视频课学习记录表")
 public class VideoLessonStudyRecord extends BaseEntity {
-    /**
-     * 主键
-     */
-	private Long id;
-    /**
-     * 视频课组ID
-     */
-	private Long videoLessonGroupId;
-    /**
-     * 视频ID
-     */
-	private Long videoId;
-    /**
-     * 学生ID
-     */
-	private Long studentId;
-    /**
-     * 是否学完(1:是;0:否)
-     */
-	private Integer finishFlag;
-    /**
-     * 学习开始时间
-     */
-	private java.util.Date startTime;
-    /**
-     * 学习完成时间
-     */
-	private java.util.Date finishTime;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    @ApiModelProperty(value = "主键id")
+    private Long id;  //主键ID
+
+    @TableField("video_lesson_group_id_")
+    @ApiModelProperty(value = "视频课组ID")
+    private Long videoLessonGroupId;  //视频课组ID
+
+    @TableField("video_id_")
+    @ApiModelProperty(value = "视频ID")
+    private Long videoId;  //视频ID
+
+    @TableField("student_id_")
+    @ApiModelProperty(value = "学生ID")
+    private Long studentId;  //学生ID
+
+    @TableField("finish_flag_")
+    @ApiModelProperty(value = "是否学完(1:是;0:否)")
+    private Integer finishFlag;  //是否学完(1:是;0:否)
+
+    @TableField("start_time_")
+    @ApiModelProperty(value = "学习开始时间")
+    private Date startTime;  //学习开始时间
+
+    @TableField("finish_time_")
+    @ApiModelProperty(value = "学习完成时间")
+    private Date finishTime;  //学习完成时间
+
 
 	public VideoLessonStudyRecord setId(Long id) {
 	    this.id = id;
@@ -79,20 +87,20 @@ public class VideoLessonStudyRecord extends BaseEntity {
 	public Integer getFinishFlag() {
 	    return this.finishFlag;
 	}
-	public VideoLessonStudyRecord setStartTime(java.util.Date startTime) {
+	public VideoLessonStudyRecord setStartTime(Date startTime) {
 	    this.startTime = startTime;
 	    return this;
 	}
 
-	public java.util.Date getStartTime() {
+	public Date getStartTime() {
 	    return this.startTime;
 	}
-	public VideoLessonStudyRecord setFinishTime(java.util.Date finishTime) {
+	public VideoLessonStudyRecord setFinishTime(Date finishTime) {
 	    this.finishTime = finishTime;
 	    return this;
 	}
 
-	public java.util.Date getFinishTime() {
+	public Date getFinishTime() {
 	    return this.finishTime;
 	}