package ${package}.${moduleName}.entity;

    #if(${hasBigDecimal})
    import java.math.BigDecimal;
    #end
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * ${comments}
 *
 * @author ${author}
 * @email ${email}
 * @date ${datetime}
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@ApiModel(value = "${comments}对象", description = "${comments}对象")
public class ${className}Entity implements Serializable {
    private static final long serialVersionUID = 1L;

#foreach ($column in $columns)
    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments", name = "$column.attrname")
    private $column.attrType $column.attrname;
#end

###foreach ($column sin $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
}
