id 自增 取消
This commit is contained in:
@@ -22,7 +22,7 @@ public class CommentGood implements Serializable {
|
||||
/**
|
||||
* 评论点赞id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long commentGoodId;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ public class Course implements Serializable {
|
||||
/**
|
||||
* 短剧id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long courseId;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public class CourseClassification implements Serializable {
|
||||
/**
|
||||
* 分类id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long classificationId;
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,7 @@ public class CourseCollect implements Serializable {
|
||||
/**
|
||||
* 收藏id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long courseCollectId;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ public class CourseComment implements Serializable {
|
||||
/**
|
||||
* 短剧评论id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long courseCommentId;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ public class CourseDetails implements Serializable {
|
||||
/**
|
||||
* 短剧目录id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long courseDetailsId;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ public class CourseUser implements Serializable {
|
||||
/**
|
||||
* 我的短剧id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long courseUserId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user