mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-10-20 17:03:46 +08:00
update 优化 代码生成器 自动适配oss翻译
This commit is contained in:
@@ -53,6 +53,13 @@ public class ${ClassName}Vo implements Serializable {
|
||||
#end
|
||||
private $column.javaType $column.javaField;
|
||||
|
||||
#if($column.htmlType == "imageUpload")
|
||||
/**
|
||||
* ${column.columnComment}Url
|
||||
*/
|
||||
@Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "${column.javaField}")
|
||||
private String ${column.javaField}Url";
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
|
||||
|
Reference in New Issue
Block a user