import <%= base_package %>.models.domain.<%= model.camelcase %>;
<% end -%>
import <%= base_package %>.models.domain.<%= class_name %>;
]]>
Model id="model"/>
<% for attribute in attributes -%><% unless attribute.name == "with_user" %><% if attribute.type == "boolean" -%>
<% else -%>
<% end -%><% end -%>
<% end -%>
<% for attribute in attributes -%><% unless attribute.name == "with_user" %>
<% if attribute.type == :boolean -%>
<% elsif attribute.type == :string -%>
<% elsif attribute.type == :text -%>
<% elsif attribute.type == :datetime || attribute.type == :time -%>
<% elsif attribute.type == :date -%>
<% else -%>
<% end -%>
<% end -%>
<% end -%>
<% for model in belongs_tos -%>
<% end -%>