|
@@ -1,89 +0,0 @@
|
|
-package com.baomidou.entity;
|
|
|
|
-
|
|
|
|
-import java.io.Serializable;
|
|
|
|
-
|
|
|
|
-import com.baomidou.mybatisplus.annotations.IdType;
|
|
|
|
-
|
|
|
|
-import com.baomidou.mybatisplus.annotations.TableField;
|
|
|
|
-import com.baomidou.mybatisplus.annotations.TableId;
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- *
|
|
|
|
- * 用户表
|
|
|
|
- *
|
|
|
|
- */
|
|
|
|
-public class User implements Serializable {
|
|
|
|
-
|
|
|
|
- @TableField(exist = false)
|
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
|
-
|
|
|
|
- /** 主键ID */
|
|
|
|
- @TableId(value = "test_id", type = IdType.AUTO)
|
|
|
|
- private Long testId;
|
|
|
|
-
|
|
|
|
- /** 名称 */
|
|
|
|
- private String name;
|
|
|
|
-
|
|
|
|
- /** 年龄 */
|
|
|
|
- private Integer age;
|
|
|
|
-
|
|
|
|
- /** 测试下划线字段命名类型 */
|
|
|
|
- @TableField(value = "test_type")
|
|
|
|
- private Integer testType;
|
|
|
|
-
|
|
|
|
- /** */
|
|
|
|
- private Long role;
|
|
|
|
-
|
|
|
|
- /** */
|
|
|
|
- private String phone;
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- public Long getTestId() {
|
|
|
|
- return this.testId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setTestId(Long testId) {
|
|
|
|
- this.testId = testId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getName() {
|
|
|
|
- return this.name;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setName(String name) {
|
|
|
|
- this.name = name;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getAge() {
|
|
|
|
- return this.age;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setAge(Integer age) {
|
|
|
|
- this.age = age;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getTestType() {
|
|
|
|
- return this.testType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setTestType(Integer testType) {
|
|
|
|
- this.testType = testType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getRole() {
|
|
|
|
- return this.role;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setRole(Long role) {
|
|
|
|
- this.role = role;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getPhone() {
|
|
|
|
- return this.phone;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setPhone(String phone) {
|
|
|
|
- this.phone = phone;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-}
|
|
|