feat(REQ-2106): 素材创建名称长度限制

This commit is contained in:
chenwenjian 2024-04-23 10:10:56 +08:00
parent b37f3b5882
commit aeaf05fc68

View File

@ -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;