User.java 675 B

1234567891011121314151617181920212223242526272829303132
  1. package com.jiayue.inpassback.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import java.io.Serializable;
  6. @TableName(value = "user")
  7. public class User implements Serializable {
  8. /**
  9. * Id
  10. */
  11. @TableId(type = IdType.AUTO)
  12. Long id;
  13. String name;
  14. Integer age;
  15. String email;
  16. @Override
  17. public String toString() {
  18. return "User{" +
  19. "id=" + id +
  20. ", name='" + name + '\'' +
  21. ", age=" + age +
  22. ", email='" + email + '\'' +
  23. '}';
  24. }
  25. }