2021-02-06 10:43:42 +08:00
|
|
|
|
package ${basePackage}.${table.moduleName}.controller.${table.businessName}.vo;
|
|
|
|
|
|
|
|
|
|
import lombok.*;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import io.swagger.annotations.*;
|
|
|
|
|
import javax.validation.constraints.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ${table.classComment} Base VO,提供给添加、修改、详细的子 VO 使用
|
|
|
|
|
* 如果子 VO 存在差异的字段,请不要添加到这里,影响 Swagger 文档生成
|
|
|
|
|
*/
|
|
|
|
|
@Data
|
|
|
|
|
public class ${table.className}BaseVO {
|
|
|
|
|
|
|
|
|
|
#foreach ($column in $columns)
|
|
|
|
|
#if (${column.createOperation} && ${column.updateOperation} && ${column.listOperationResult})##通用操作
|
2021-02-06 19:12:08 +08:00
|
|
|
|
#parse("codegen/controller/vo/_column.vm")
|
2021-02-06 10:43:42 +08:00
|
|
|
|
|
|
|
|
|
#end
|
|
|
|
|
#end
|
|
|
|
|
}
|