格式化代码
This commit is contained in:
parent
62d95a3b6d
commit
4a74ae766b
@ -1,9 +1,6 @@
|
||||
package com.example.springdemo.entities;
|
||||
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
import jakarta.persistence.*;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
@ -18,6 +15,7 @@ import lombok.NoArgsConstructor;
|
||||
@Table(name = "Users")
|
||||
public class Users {
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Long id;//主键,用户ID
|
||||
private String name;//用户姓名
|
||||
@Column(name = "phoneNumber")
|
||||
|
Loading…
Reference in New Issue
Block a user