package ${package}.entity;

import java.io.Serializable;
import java.util.Date;

#if(${hasBigDecimal})
import java.math.BigDecimal;
#end
/**
 * ${comments}实体
 * 表名 ${tableName}
 *
 * @author ${author}
 * @email ${email}
 * @date ${datetime}
 */
public class ${className}Entity implements Serializable {
    private static final long serialVersionUID = 1L;

#foreach ($column in $columns)
    /**
     * $column.comments
     */
    private $column.attrType $column.attrname;
#end

#foreach ($column in $columns)
    /**
     * 设置：${column.comments}
     */
    public void set${column.attrName}($column.attrType $column.attrname) {
        this.$column.attrname = $column.attrname;
    }

    /**
     * 获取：${column.comments}
     */
    public $column.attrType get${column.attrName}() {
        return $column.attrname;
    }
#end
}
