blob: 8e286288f01b2815df7cc5a94bb5ce4472d527ed [file] [log] [blame]
package com.example.g8backend.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName("users")
public class User {
@TableId(type = IdType.AUTO)
private Long userId;
private String password;
private String userName;
private String email;
@Override
public String toString() {
return "User{" +
"id=" + userId +
", name='" + userName + '\'' +
", email='" + email + '\'' +
'}';
}
}