This commit is contained in:
cjw 2024-08-23 14:41:35 +08:00
parent 00a3e34404
commit 384836caf9
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package org.dromara.scale.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@ -26,7 +27,7 @@ public class Activity extends BaseEntity {
/**
*
*/
@TableId(value = "id")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**

View File

@ -24,7 +24,7 @@ public class ActivityEnter extends BaseEntity {
/**
*
*/
@TableId(value = "id")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**