Browse Source

添加设备图片

LuoDLeo 3 months ago
parent
commit
58cd631b13

+ 5 - 1
src/main/java/org/springblade/modules/business/entity/FacilityModel.java

@@ -36,6 +36,10 @@ public class FacilityModel extends BaseEntity {
 	*/
 	@ApiModelProperty(value = "货道容量")
 	private Integer channelCapacity;
-
+	/**
+	 * 型号图片
+	 */
+	@ApiModelProperty(value = "型号图片")
+	private String facilityImage;
 
 }

+ 1 - 2
src/main/java/org/springblade/modules/business/entity/Shop.java

@@ -12,7 +12,6 @@ import org.springblade.common.base.BaseEntity;
 import org.springblade.common.config.LocalTimeDeserializer;
 
 import javax.validation.constraints.NotBlank;
-import javax.validation.constraints.NotEmpty;
 import javax.validation.constraints.NotNull;
 import java.time.LocalTime;
 
@@ -102,7 +101,7 @@ public class Shop extends BaseEntity {
 	/**
 	 * 门店设备
 	 */
-	@NotEmpty(message = "请选择门店设备")
+//	@NotEmpty(message = "请选择门店设备")
 	@TableField(exist = false)
 	@ApiModelProperty(value = "门店设备id集合,以逗号分隔")
 	private String facilityIds;