|
@@ -1,7 +1,8 @@
|
|
|
package com.sckw.system.model.vo.req;
|
|
package com.sckw.system.model.vo.req;
|
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
-import jakarta.validation.constraints.NotBlank;
|
|
|
|
|
|
|
+
|
|
|
|
|
+import jakarta.validation.constraints.NotNull;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
import java.io.Serial;
|
|
import java.io.Serial;
|
|
@@ -15,7 +16,7 @@ public class EnterprisePageQueryReqVo implements Serializable {
|
|
|
@Serial
|
|
@Serial
|
|
|
private static final long serialVersionUID = 5625981857792796638L;
|
|
private static final long serialVersionUID = 5625981857792796638L;
|
|
|
|
|
|
|
|
- @NotBlank(message = "企业类型不能为空")
|
|
|
|
|
|
|
+ @NotNull(message = "企业类型不能为空")
|
|
|
@Schema(description = "企业类型(1供应商,2采购商,3物流属性)")
|
|
@Schema(description = "企业类型(1供应商,2采购商,3物流属性)")
|
|
|
private Integer enterpriseType;
|
|
private Integer enterpriseType;
|
|
|
|
|
|