All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.VO.ftl Maven / Gradle / Ivy

There is a newer version: 1.3.26
Show newest version
package ${package_name};

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
* 

* ${table_describe} VO *

* * @author ${author} * @date ${date} */ @Data @ApiModel("${table_describe} 返回实体-${table_name}VO") public class ${table_name}VO { private static final long serialVersionUID = ${serialVersionUID}; <#if model_column??> <#list model_column as model> /** *${model.columnComment!} */ @ApiModelProperty(value = "${model.columnComment!}") <#if (model.columnType = 'bigint' || model.columnType = 'int8')> private Long ${model.changeColumnName?uncap_first}; <#if (model.columnType = 'varchar' || model.columnType = 'text' || model.columnType = 'varchar2' || model.columnType = 'clob' || model.columnType = 'char' || model.columnType = 'bpchar' || model.columnType = 'longvarchar')> private String ${model.changeColumnName?uncap_first}; <#if model.columnType = 'timestamp' || model.columnType = 'date' > private Date ${model.changeColumnName?uncap_first}; <#if model.columnType = 'smallint' || model.columnType = 'int' || model.columnType = 'int2' || model.columnType = 'int4' || model.columnType = 'integer' || model.columnType = 'bit'> private Integer ${model.changeColumnName?uncap_first}; <#if (model.columnType = 'binary' || model.columnType = 'blob' ||model.columnType = 'longblob')> private byte[] ${model.changeColumnName?uncap_first}; <#if model.columnType = 'numeric' || model.columnType = 'decimal' || model.columnType = 'number'> private java.math.BigDecimal ${model.changeColumnName?uncap_first}; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy