Person.java 570 字节
Newer Older
Q
qinyingjie 已提交
1 2
package com.kwan.springbootkwan.entity;

Q
qinyingjie 已提交
3
import com.baomidou.mybatisplus.annotation.TableName;
Q
qinyingjie 已提交
4 5
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
Q
qinyingjie 已提交
6
import lombok.Data;
Q
qinyingjie 已提交
7

Q
qinyingjie 已提交
8 9
@Data
@TableName(value = "person")
Q
qinyingjie 已提交
10
@ApiModel(value = "用户基本信息")
Q
qinyingjie 已提交
11
public class Person {
Q
qinyingjie 已提交
12 13 14 15 16 17 18 19 20
    @ApiModelProperty(value = "主键")
    private Integer id;
    @ApiModelProperty(value = "名称")
    private String username;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "性别")
    private String gender;
}