12345678910111213141516171819202122232425262728293031323334353637 |
- package ${code.packageName}.model.dto;
- <#list code.propertys as property>
- <#if property.type = 'Date'>
- import java.util.Date;
- <#break>
- </#if>
- </#list>
- import lombok.Data;
- /**
- * @author ${code.author}
- * @date ${.now?string('yyyy-MM-dd')}
- */
- @Data
- public class ${code.className}DTO {
- private Long id;
- <#list code.propertys as property>
- <#if code.parentName = "RelationBaseBean">
- <#if property.name = 'create_user_id' || property.name= 'create_user_name' || property.name= 'create_time' || property.name= 'update_user_id' || property.name= 'update_user_name' || property.name= 'update_time' || property.name= 'delete_flag' || property.name= 'version'>
- <#continue>
- </#if>
- </#if>
- /**
- *${property.label}
- */
- <#if property.type = 'Text'>
- private String ${property.name};
- <#else>
- private ${property.type} ${property.name};
- </#if>
- </#list>
- }
|