You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
648 B
31 lines
648 B
package com.example.demo.bean;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.Id;
|
|
|
|
@Getter
|
|
@Setter
|
|
@Entity
|
|
public class User {
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
private long userNum;
|
|
private String userName;
|
|
private String userPwd;
|
|
private String userRight;
|
|
private String trueName;
|
|
private String idNum;
|
|
private String telephoneNum;
|
|
private String address;
|
|
private String isIdentify;
|
|
private String registerTime;
|
|
|
|
|
|
public User(){};
|
|
}
|