Commit 7cb8234c8f7c7456404e5c5afa0f971f2daf0ca0
1 parent
9e75c468
apptype vaild update
Showing
1 changed file
with
7 additions
and
5 deletions
myapp-common/src/main/java/com/b2c/myapp/common/api/sellerInfo/input/SellerInfoSaveInput.java
... | ... | @@ -41,7 +41,7 @@ public class SellerInfoSaveInput implements Serializable{ |
41 | 41 | * app类型(默认社区店版:1) |
42 | 42 | */ |
43 | 43 | @ApiModelProperty(value = "app类型(1:默认社区店版,2:连锁店)",required = true) |
44 | - @NotBlank(message="app类型不能为空") | |
44 | + @NotNull(message="app类型不能为空") | |
45 | 45 | private Integer appType; |
46 | 46 | |
47 | 47 | public void setMobilePhone (String mobilePhone){ |
... | ... | @@ -62,11 +62,13 @@ public class SellerInfoSaveInput implements Serializable{ |
62 | 62 | public String getAccountName(){ |
63 | 63 | return this.accountName; |
64 | 64 | } |
65 | - public void setAppType (Integer appType){ | |
66 | - this.appType = appType; | |
65 | + | |
66 | + public Integer getAppType() { | |
67 | + return appType; | |
67 | 68 | } |
68 | - public Integer getAppType(){ | |
69 | - return this.appType; | |
69 | + | |
70 | + public void setAppType(Integer appType) { | |
71 | + this.appType = appType; | |
70 | 72 | } |
71 | 73 | |
72 | 74 | public String toString(){ |
... | ... |