mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
init 单模块项目
This commit is contained in:
36
ruoyi/src/main/resources/vm/java/editBo.java.vm
Normal file
36
ruoyi/src/main/resources/vm/java/editBo.java.vm
Normal file
@ -0,0 +1,36 @@
|
||||
package ${packageName}.bo;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import java.util.Date;
|
||||
|
||||
#foreach ($import in $importList)
|
||||
import ${import};
|
||||
#end
|
||||
|
||||
/**
|
||||
* ${functionName}编辑对象 ${tableName}
|
||||
*
|
||||
* @author ${author}
|
||||
* @date ${datetime}
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("${functionName}编辑对象")
|
||||
public class ${ClassName}EditBo {
|
||||
|
||||
#foreach ($column in $columns)
|
||||
#if($column.isEdit)
|
||||
|
||||
/** $column.columnComment */
|
||||
@ApiModelProperty("$column.columnComment")
|
||||
private $column.javaType $column.javaField;
|
||||
#end
|
||||
#end
|
||||
#if($table.sub)
|
||||
|
||||
/** $table.subTable.functionName信息 */
|
||||
@ApiModelProperty("$table.subTable.functionName")
|
||||
private List<${subClassName}> ${subclassName}List;
|
||||
#end
|
||||
}
|
Reference in New Issue
Block a user