feat: update

This commit is contained in:
landaiqing
2024-06-24 13:57:07 +08:00
parent 1d612ac47e
commit 61e809ccce
2 changed files with 5 additions and 3 deletions

View File

@@ -4,6 +4,7 @@ import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id; import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType; import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table; import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
@@ -22,7 +23,7 @@ public class SchisandraSocialUser implements Serializable {
/** /**
* *
*/ */
@Id(value = "id", keyType = KeyType.Auto) @Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id; private Long id;
/** /**

View File

@@ -4,6 +4,7 @@ import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id; import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType; import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table; import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.keygen.KeyGenerators;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
@@ -22,7 +23,7 @@ public class SchisandraSocialUserAuth implements Serializable {
/** /**
* *
*/ */
@Id(value = "id", keyType = KeyType.Auto) @Id(keyType=KeyType.Generator, value= KeyGenerators.flexId)
private Long id; private Long id;
/** /**
@@ -64,7 +65,7 @@ public class SchisandraSocialUserAuth implements Serializable {
/** /**
* *
*/ */
@Column("is_deleted") @Column(value = "is_deleted",isLogicDelete = true)
private Integer isDeleted; private Integer isDeleted;
} }