We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2547b08 commit 705a9ebCopy full SHA for 705a9eb
Templates/Java/models_extensions/BaseEntity.java.tt
@@ -10,8 +10,9 @@ import com.google.gson.JsonObject;
10
import com.google.gson.JsonElement;
11
import com.google.gson.annotations.SerializedName;
12
import com.google.gson.annotations.Expose;
13
+<# if(((OdcmClass)c).IsOpen && !((OdcmClass)c).Properties.Any()) { #>
14
import java.util.HashMap;
-import java.util.Map;
15
+<# } #>
16
17
<#=TypeHelperJava.CreateClassDef(c.TypeName(), c.BaseClassName(), "IJsonBackedObject")#>
18
0 commit comments