fix
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.cool.store.request;
|
||||
|
||||
import com.cool.store.entity.BuildInformationDO;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
@@ -21,10 +22,12 @@ public class BuildInformationRequest {
|
||||
|
||||
@NotBlank(message = "点餐小程序店铺名称不能为空")
|
||||
@ApiModelProperty(value = "点餐小程序店铺名称")
|
||||
@JsonProperty("cShopName")
|
||||
private String cShopName;
|
||||
|
||||
@NotNull
|
||||
private Long shopId;
|
||||
|
||||
@NotBlank(message = "门店联系人姓名 不能为空")
|
||||
@Length(max = 100 , message = "门店联系人姓名长度不能超过100")
|
||||
@ApiModelProperty("门店联系人姓名")
|
||||
@@ -81,6 +84,7 @@ public class BuildInformationRequest {
|
||||
|
||||
@ApiModelProperty("结算人姓名")
|
||||
@NotBlank(message = "结算人姓名 不能为空")
|
||||
@JsonProperty("settlerName")
|
||||
private String settlerName;
|
||||
|
||||
@NotBlank(message = "结算人身份证正面 不能为空")
|
||||
@@ -116,6 +120,7 @@ public class BuildInformationRequest {
|
||||
@NotBlank(message = "结算人银行卡背面照片 不能为空")
|
||||
@Length(max = 250, message = "结算人银行卡背面照片 长度不能超过250")
|
||||
@ApiModelProperty("结算人银行卡背面照片")
|
||||
@JsonProperty("settlerBankBackPhotoUrl")
|
||||
private String settlerBankBackPhotoUrl;
|
||||
|
||||
@NotBlank(message = "结算人银行卡号 不能为空")
|
||||
|
||||
Reference in New Issue
Block a user