package nos2jdbc.tutorial.wildfly.entity;

import java.time.OffsetDateTime;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

import nos2jdbc.annotation.CreateAt;
import nos2jdbc.annotation.UpdateAt;

@MappedSuperclass
public class EntityBase {
    @Id
    @GeneratedValue
    public Long id;
    
    @CreateAt
    public OffsetDateTime createAt;
    @UpdateAt
    public OffsetDateTime updateAt;


}

@@ -213,24 +213,25 @@
 ation.Create
+d
 At;%0Aimport n
@@ -251,24 +251,25 @@
 ation.Update
+d
 At;%0A%0A@Mapped
@@ -369,16 +369,17 @@
  @Create
+d
 At%0A    p
@@ -420,16 +420,17 @@
  @Update
+d
 At%0A    p

change from @CreateAt to @CreatedAt