Commit 35237fbb authored by hezhen's avatar hezhen

123

parent 62fb2631
......@@ -3,6 +3,8 @@ package com.github.wxiaoqi.security.admin.entity;
import lombok.*;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
......@@ -20,6 +22,10 @@ import java.io.Serializable;
@ToString
public class BaseUserMemberExport implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@GeneratedValue(generator = "JDBC")//此处加上注解
private Integer id;
@Column(name = "user_id")
private Integer userId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment