User.java 555 B

1234567891011121314151617181920212223242526
  1. package io.github.qifan777.knowledge.domain.po;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.AllArgsConstructor;
  6. import lombok.Data;
  7. import lombok.NoArgsConstructor;
  8. /**
  9. * <p>
  10. *
  11. * </p>
  12. *
  13. * @author taohongrun
  14. * @since 2025/3/13
  15. */
  16. @Data
  17. @TableName("user")
  18. public class User {
  19. @TableId(type = IdType.ASSIGN_ID)
  20. private String id;
  21. private String phone;
  22. private String nickname;
  23. private Integer score;
  24. }