mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 09:55:16 +08:00
Pre Merge pull request !37 from Tony-_-Jiang/master
This commit is contained in:
commit
6129ec6bb2
@ -29,10 +29,12 @@ public class ${ClassName}AddBo {
|
|||||||
#if($column.javaType == 'Date')
|
#if($column.javaType == 'Date')
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
#end
|
#end
|
||||||
|
#if($column.isRequired == 1)
|
||||||
#if($column.javaType == 'String')
|
#if($column.javaType == 'String')
|
||||||
@NotBlank(message = "$column.columnComment不能为空")
|
@NotBlank(message = "$column.columnComment不能为空")
|
||||||
#else
|
#else
|
||||||
@NotNull(message = "$column.columnComment不能为空")
|
@NotNull(message = "$column.columnComment不能为空")
|
||||||
|
#end
|
||||||
#end
|
#end
|
||||||
private $column.javaType $column.javaField;
|
private $column.javaType $column.javaField;
|
||||||
#end
|
#end
|
||||||
|
|||||||
@ -29,10 +29,12 @@ public class ${ClassName}EditBo {
|
|||||||
#if($column.javaType == 'Date')
|
#if($column.javaType == 'Date')
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
#end
|
#end
|
||||||
|
#if($column.isRequired == 1)
|
||||||
#if($column.javaType == 'String')
|
#if($column.javaType == 'String')
|
||||||
@NotBlank(message = "$column.columnComment不能为空")
|
@NotBlank(message = "$column.columnComment不能为空")
|
||||||
#else
|
#else
|
||||||
@NotNull(message = "$column.columnComment不能为空")
|
@NotNull(message = "$column.columnComment不能为空")
|
||||||
|
#end
|
||||||
#end
|
#end
|
||||||
private $column.javaType $column.javaField;
|
private $column.javaType $column.javaField;
|
||||||
#end
|
#end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user