package com.boying.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.boying.common.BaseEntity;
|
import io.swagger.annotations.ApiModel;
|
import lombok.Data;
|
|
import javax.persistence.Entity;
|
|
/**
|
* @author kdq
|
* @version 1.0.0
|
* @ClassName User.java
|
* @Description TODO
|
* @createTime 2022年11月20日 09:17:00
|
*/
|
@Data
|
@TableName("user")
|
@javax.persistence.Table(name = "user")
|
@Entity
|
@org.hibernate.annotations.Table(appliesTo = "user", comment = "用户表")
|
@ApiModel(value = "用户表")
|
public class User extends BaseEntity<User> {
|
/**
|
* 姓名
|
*/
|
private String name;
|
|
/**
|
* 电话
|
*/
|
private String phone;
|
|
/**
|
* 登录名
|
*/
|
private String loginName;
|
|
/**
|
* 密码
|
*/
|
private String password;
|
|
/**
|
* 头像
|
*/
|
private String img;
|
|
/**
|
* 0:停车场管理员 1:执法人员 2:管理员
|
*/
|
private int type;
|
|
private String lng;
|
private String lat;
|
private Integer parkId;
|
private String parkIds;
|
}
|