package org.openlmis.stockmanagement.domain;

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

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

@Entity
@Table(name = "just_testing_erd_generation", schema = "stockmanagement")
@NoArgsConstructor
@AllArgsConstructor
public class JustTestingErdGeneration {

    @Id
    private String id;

    @Column(nullable = false)
    @Getter
    @Setter
    private String someField;

    @Column(nullable = false)
    @Getter
    @Setter
    private String someOtherField;
}

@@ -444,18 +444,14 @@
  %7B%0A%0A
-  
   @Id%0A
-  
   pr
@@ -466,26 +466,24 @@
 ring id;%0A%0A  
- 
- 
 @Column(null
@@ -488,34 +488,32 @@
 llable = false)%0A
-  
   @Getter%0A    @S
@@ -498,34 +498,32 @@
 alse)%0A  @Getter%0A
-  
   @Setter%0A    pr
@@ -508,34 +508,32 @@
 etter%0A  @Setter%0A
-  
   private String
@@ -547,18 +547,16 @@
 eld;%0A%0A  
- 
- 
 @Column(
@@ -575,26 +575,24 @@
 alse)%0A  
- 
- 
 @Getter%0A
     @Set
@@ -583,18 +583,16 @@
 @Getter%0A
-  
   @Sette
@@ -593,18 +593,16 @@
 @Setter%0A
-  
   privat

create a dummy domain model to test erd generation can really extract things out of DB