feat(REQ-2106): 素材创建名称长度限制
This commit is contained in:
parent
b37f3b5882
commit
aeaf05fc68
@ -35,13 +35,14 @@ public class CreateMaterialReq {
|
||||
/**
|
||||
* 广告位编码
|
||||
*/
|
||||
@Length(max = 150, message = "bannerCode长度不能超过150")
|
||||
|
||||
@NotBlank(message = "bannerCode不能为空")
|
||||
private String bannerCode;
|
||||
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
@Length(max = 150, message = "素材名称长度不能超过150字")
|
||||
@NotBlank(message = "素材名称不能为空")
|
||||
private String name;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user