| | |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | /** |
| | | * ${tableComment} Entity |
| | | * |
| | | * name:${className} |
| | | * package:${basePackage}.${controllerPackage} |
| | | * description:${tableComment}数据表映射实体 |
| | | * |
| | | * @author ${author} |
| | | * @date ${date} |
| | | * @since JDK1.8 |
| | | */ |
| | | @Data |
| | | @TableName("${tableName}") |
| | |
| | | private Date ${column.field?uncap_first}; |
| | | |
| | | </#if> |
| | | <#if column.type = 'int' || column.type = 'smallint'> |
| | | <#if column.type = 'int' || column.type = 'smallint'|| column.type = 'bit'> |
| | | private Integer ${column.field?uncap_first}; |
| | | |
| | | </#if> |