package org.openlmis.template.domain;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "widget", schema = "template")
@NoArgsConstructor
public class Widget extends BaseEntity {
  private static final String TEXT = "text";

  @Column(nullable = false, columnDefinition = TEXT)
  @Getter
  @Setter
  private String name;


}
@@ -108,16 +108,70 @@
 .Setter;
+%0Aimport org.javers.core.metamodel.annotation.TypeName;
 %0A%0Aimport
@@ -271,16 +271,36 @@
 @Entity%0A
+@TypeName(%22Widget%22)%0A
 @Table(n

Add @TypeName to Widget