Commit 1f40dcd6 by lixian7

添加车牌颜色不正确提示

parent c3e4372c
......@@ -28,7 +28,7 @@ public class BindInfoReq {
* F:紫,G:绿,H:蓝,I:棕,J:黑',
*/
@NotBlank(message = "车牌颜色不能为空")
@Pattern(regexp = "[ABCDEFGHIJ]")
@Pattern(regexp = "[ABCDEFGHIJ]", message = "车牌颜色不正确")
private String plateColor;
/**
* 车牌号
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment