|
@@ -1,14 +1,16 @@
|
|
|
package org.dromara.bulk.domain.bo;
|
|
|
|
|
|
import io.github.linpeilie.annotations.AutoMapper;
|
|
|
-import jakarta.validation.constraints.NotBlank;
|
|
|
+import jakarta.validation.constraints.NotNull;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
import org.dromara.bulk.domain.BulkOrderList;
|
|
|
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
/**
|
|
|
-* 计划详情
|
|
|
+* 大货订单列表BO类
|
|
|
*/
|
|
|
@Data
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
@@ -33,13 +35,13 @@ public class BulkOrderListBo extends BaseEntity {
|
|
|
/**
|
|
|
* 用户id
|
|
|
*/
|
|
|
- @NotBlank(message = "用户id不能为空")
|
|
|
+ @NotNull(message = "用户id不能为空")
|
|
|
private Long userId;
|
|
|
|
|
|
/**
|
|
|
* 计划ID
|
|
|
*/
|
|
|
- @NotBlank(message = "计划ID不能为空")
|
|
|
+ @NotNull(message = "计划ID不能为空")
|
|
|
private Long planId;
|
|
|
|
|
|
/**
|
|
@@ -75,13 +77,13 @@ public class BulkOrderListBo extends BaseEntity {
|
|
|
/**
|
|
|
* 进价
|
|
|
*/
|
|
|
- @NotBlank(message = "进价不能为空")
|
|
|
+ @NotNull(message = "进价不能为空")
|
|
|
private double purchase;
|
|
|
|
|
|
/**
|
|
|
* 数量
|
|
|
*/
|
|
|
- @NotBlank(message = "数量不能为空")
|
|
|
+ @NotNull(message = "数量不能为空")
|
|
|
private double number;
|
|
|
|
|
|
/**
|
|
@@ -222,16 +224,16 @@ public class BulkOrderListBo extends BaseEntity {
|
|
|
/**
|
|
|
* 下单时间
|
|
|
*/
|
|
|
- private String orderTime;
|
|
|
+ private Date orderTime;
|
|
|
|
|
|
/**
|
|
|
* 交货日期
|
|
|
*/
|
|
|
- private String deliveryDate;
|
|
|
+ private Date deliveryDate;
|
|
|
/**
|
|
|
* 目标日期
|
|
|
*/
|
|
|
- private String targetDate;
|
|
|
+ private Date targetDate;
|
|
|
/**
|
|
|
* 订单id
|
|
|
*/
|
|
@@ -243,7 +245,6 @@ public class BulkOrderListBo extends BaseEntity {
|
|
|
/**
|
|
|
* 下单码数类型
|
|
|
*/
|
|
|
- @NotBlank(message = "下单码数类型不能为空")
|
|
|
private String numberOrdersPlacedType;
|
|
|
/**
|
|
|
* 发货数量
|
|
@@ -278,4 +279,8 @@ public class BulkOrderListBo extends BaseEntity {
|
|
|
*/
|
|
|
private String shaohuaDabaoCount;
|
|
|
|
|
|
+ /**
|
|
|
+ * 商品图片
|
|
|
+ */
|
|
|
+ private String image;
|
|
|
}
|