init2
This commit is contained in:
25
doc/easycode/entityVo.java.vm
Normal file
25
doc/easycode/entityVo.java.vm
Normal file
@@ -0,0 +1,25 @@
|
||||
##导入宏定义
|
||||
$!{define.vm}
|
||||
|
||||
##设置表后缀(宏定义)
|
||||
#setTableSuffix("VO")
|
||||
|
||||
##保存文件(宏定义)
|
||||
#save("/vo", "VO.java")
|
||||
|
||||
##包路径(宏定义)
|
||||
#setPackageSuffix("vo")
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import $!{tableInfo.savePackageName}.entity.$!tableInfo.name;
|
||||
|
||||
|
||||
##表注释(宏定义)
|
||||
#tableComment("实体封装类")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class $!{tableName} extends $!tableInfo.name {
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
Reference in New Issue
Block a user