User.java 477 字节
Newer Older
Q
qinyingjie 已提交
1 2 3 4 5 6 7 8 9
package com.kwan.springbootkwan.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

@Data
@Builder
Q
qinyingjie 已提交
10 11 12
@TableName(value = "user")
public class User   {
    @TableId(value = "id", type = IdType.AUTO)
Q
qinyingjie 已提交
13 14 15 16 17 18
    private Integer id;
    private String name;
    private String sex;
    private String pwd;
    private String email;
}