2
13693261870
2022-09-16 653761a31dfeb50dd3d007e892d69c90bf0cdafc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package ${package}.entity;
 
import java.io.Serializable;
import java.util.Date;
#if(${hasBigDecimal})
import java.math.BigDecimal;
#end
 
/**
 * @author ${author}
 * @Description: TODO(${comments})
 * @date ${datetime}
 */
public class ${className} implements Serializable {
    
#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
 
}