增加校验

This commit is contained in:
shuo.wang
2025-04-22 21:52:19 +08:00
parent 73717e669a
commit d0cef8a4a8
2 changed files with 2 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ public class AddSignFranchiseRequest {
private String franchiseBrand;
@ApiModelProperty("【门店类型】0-无展示门店、1-餐厅店、2-普通门店'")
@NotNull(message = "门店类型不能为空")
private Integer storeType;
@ApiModelProperty("经营模式0 无 1直营 2加盟")

View File

@@ -35,7 +35,7 @@ public class BranchShopDetailRequest {
@ApiModelProperty("门店名称")
private String shopName;
@ApiModelProperty("店铺类型0-无展示门店、1-餐厅店、2-普通门店")
@NotNull
@NotNull(message = "门店类型不能为空")
private Integer storeType;
}