New file |
| | |
| | | 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; |
| | | |
| | | } |