1. @Entity  
  2. @Table(name="RS_SIGNUPUSER")  
  3. public class RsSignUpUser {  
  4.   @Id  
  5.   @GenericGenerator(name="UUIDGENERATE",strategy="uuid2")  
  6.   @GeneratedValue(generator="UUIDGENERATE")  
  7.   @Column(name="ID",length=36)  
  8.   private String ID;  
  9.    @Temporal(TemporalType.TIMESTAMP)  
  10.   @Column(updatable = false)  
  11.   @org.hibernate.annotations.CreationTimestamp   
  12.   private Date CREATETIME;   
  13.   @Column(name="UPDATETIME")  
  14.   @org.hibernate.annotations.UpdateTimestamp  
  15.   @Temporal(TemporalType.TIMESTAMP)  
  16.   private Date UPDATETIME;   

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-15
  • 2021-05-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2021-05-28
相关资源
相似解决方案