注解调整,取消手机号必填限制
This commit is contained in:
parent
75741ea007
commit
40b06e2039
|
|
@ -90,8 +90,6 @@ public class BmProject extends BaseEntity implements Serializable {
|
||||||
* 联系方式
|
* 联系方式
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "联系方式")
|
@ApiModelProperty(value = "联系方式")
|
||||||
@NotBlank(message = "联系方式不能为空")
|
|
||||||
@Size(min = 11, max = 11, message = "联系方式长度必须为11位")
|
|
||||||
private String telphone;
|
private String telphone;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -117,8 +115,6 @@ public class BmProject extends BaseEntity implements Serializable {
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "联系方式")
|
@ApiModelProperty(value = "联系方式")
|
||||||
@Excel(name = "联系电话")
|
@Excel(name = "联系电话")
|
||||||
@NotBlank(message = "联系电话不能为空")
|
|
||||||
@Size(min = 11, max = 11, message = "联系电话长度必须为11位")
|
|
||||||
private String phone;
|
private String phone;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue