feat:创建共富商城预约订单
This commit is contained in:
1 parent
661e24d0cb
commit
cbd6b72f2f
9 files changed
+170
-9
No files matched your search
+1
@@ -19,6 +19,7 @@ public enum HardOrderTypeEnum {
|
||||
STRIDE_DEPT("4", "跨单位"),
|
||||
ZY("5", "正元公务餐"),
|
||||
LB("6", "宁波银行(美好生活)"),
|
||||
FARMER("7", "共富商城(助农)"),
|
||||
;
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
package com.bsd.pjcloud.hard.api.dto.order.app;
|
||||
|
||||
import com.bsd.pjcloud.hard.api.constant.HardTypeEnum;
|
||||
import com.bsd.pjcloud.hard.api.constant.order.HardOrderTypeEnum;
|
||||
import com.bsd.pjcloud.hard.api.constant.order.HardPayTypeEnum;
|
||||
import com.bsd.pjcloud.wallet.api.constant.WalletTypeEnum;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class HardAppCreateFarmerOrderDto {
|
||||
|
||||
@NotNull(message = "购物车id不能为空")
|
||||
private Long carParentId;
|
||||
|
||||
@NotNull(message = "钱包类型不能为空")
|
||||
private WalletTypeEnum walletType;
|
||||
|
||||
@NotNull(message = "自提点id不能为空")
|
||||
private Long pickUpId;
|
||||
|
||||
private HardOrderTypeEnum orderType;
|
||||
|
||||
private HardPayTypeEnum payType;
|
||||
|
||||
private HardTypeEnum hardType;
|
||||
|
||||
private Long userId;
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user