You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

JpaUser.java 404 B

7 years ago
12345678910111213141516171819202122
  1. package com.xkcoding.springbootdemojpa.entity;
  2. import lombok.Data;
  3. import org.hibernate.annotations.DynamicUpdate;
  4. import javax.persistence.*;
  5. import java.util.Date;
  6. @Entity
  7. @Data
  8. @DynamicUpdate
  9. public class JpaUser {
  10. @Id
  11. @GeneratedValue(strategy = GenerationType.IDENTITY)
  12. private Long id;
  13. @Column(name = "name")
  14. private String name;
  15. @Column(name = "create_time")
  16. private Date createTime;
  17. }

一个用来深度学习并实战 spring boot 的项目,目前总共包含 66 个集成demo,已经完成 55 个。

Contributors (1)