guoyuji
2024-05-31 ee4dc5d6c9d3bc8ae8e704f93fa6b233e8b42e8f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.example.erp.entity.userInfo;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
 
import java.util.List;
 
@Data  //get与set代码简写
public class User {
 
    @TableId(type = IdType.AUTO)
    private  Integer id;
    private  String loginName;
    private  String password;
    private  String userName;
    private  String address;
    private  String phone;
    private  String createTime;
    private  String updateTime;
    private  Integer state;
    @TableField(select = false,exist = false)
    private  List<UserRole> userRoleList;
 
}