id 自增 取消

This commit is contained in:
2025-01-03 21:47:08 +08:00
parent 8b46967c53
commit 9d26091e55
23 changed files with 23 additions and 23 deletions

View File

@@ -22,7 +22,7 @@ public class CommentGood implements Serializable {
/**
* 评论点赞id
*/
@TableId(type = IdType.AUTO)
@TableId
@JsonSerialize(using = ToStringSerializer.class)
private Long commentGoodId;

View File

@@ -27,7 +27,7 @@ public class Course implements Serializable {
/**
* 短剧id
*/
@TableId(type = IdType.AUTO)
@TableId
@JsonSerialize(using = ToStringSerializer.class)
private Long courseId;

View File

@@ -21,7 +21,7 @@ public class CourseClassification implements Serializable {
/**
* 分类id
*/
@TableId(type = IdType.AUTO)
@TableId
@JsonSerialize(using = ToStringSerializer.class)
private Long classificationId;
/**

View File

@@ -26,7 +26,7 @@ public class CourseCollect implements Serializable {
/**
* 收藏id
*/
@TableId(type = IdType.AUTO)
@TableId
@JsonSerialize(using = ToStringSerializer.class)
private Long courseCollectId;

View File

@@ -26,7 +26,7 @@ public class CourseComment implements Serializable {
/**
* 短剧评论id
*/
@TableId(type = IdType.AUTO)
@TableId
@JsonSerialize(using = ToStringSerializer.class)
private Long courseCommentId;

View File

@@ -23,7 +23,7 @@ public class CourseDetails implements Serializable {
/**
* 短剧目录id
*/
@TableId(type = IdType.AUTO)
@TableId
@JsonSerialize(using = ToStringSerializer.class)
private Long courseDetailsId;

View File

@@ -22,7 +22,7 @@ public class CourseUser implements Serializable {
/**
* 我的短剧id
*/
@TableId(type = IdType.AUTO)
@TableId
@JsonSerialize(using = ToStringSerializer.class)
private Long courseUserId;