/** * Copyright 2018 人人开源 https://www.renren.io *

* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. *

* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *

* You should have received a copy of the GNU General Public License * along with this program. If not, see . */ package ${package}.entity; import com.baomidou.mybatisplus.annotation.TableName; import ${main}.commons.mybatis.entity.BaseEpmetEntity; import lombok.Data; import lombok.EqualsAndHashCode; #if(${hasBigDecimal}) import java.math.BigDecimal; #end import java.util.Date; /** * ${comments} * * @author ${author} ${email} * @since ${version} ${date} */ @Data @EqualsAndHashCode(callSuper=false) @TableName("${tableName}") public class ${className}Entity extends BaseEpmetEntity { private static final long serialVersionUID = 1L; #foreach ($column in $columns) #if($column.columnName != 'ID' && $column.columnName != 'CREATED_TIME' && $column.columnName != 'CREATED_BY' && $column.columnName != 'UPDATED_TIME' && $column.columnName != 'UPDATED_BY' && $column.columnName != 'DEL_FLAG' && $column.columnName != 'REVISION') /** * $column.comments */ private $column.attrType $column.attrname; #end #end }