package ${package}.${pkgName}.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.experimental.Accessors;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

#if(${hasBigDecimal})
import java.math.BigDecimal;
#end
import java.io.Serializable;
import java.util.Date;

/**
 * ${comments}
 * 
 * @author ${author}
 * @date ${datetime}
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Builder
@TableName("${tableName}")
public class ${className}PO implements Serializable {
	private static final long serialVersionUID = 1L;
#foreach ($column in $columns)

	/**
	 * $column.columnName $column.comments
	 */
#if($column.columnName == $pk.columnName)
	@TableId(type = IdType.AUTO)
#end
	@TableField("$column.columnName")
	private $column.attrType $column.attributeName;
#end

}
