From ba0c6f08bd78cbf4532b6a0ca57d7ec637b32b41 Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Tue, 7 Jul 2026 17:47:39 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=AE=9A=E9=A4=90=E4=B8=8B=E5=8D=95?= =?UTF-8?q?=EF=BC=8C=E5=90=8E=E5=8F=B0=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E6=8E=A7=E5=88=B6=EF=BC=8C=E6=AF=94=E5=A6=82=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8D=95=E6=AC=A1=E5=8F=AA=E8=83=BD=E4=B8=80=E9=A4=90=EF=BC=8C?= =?UTF-8?q?=E6=88=96=E8=80=85=E5=8F=AF=E4=BB=A5=E5=A4=9A=E9=80=89=E8=BF=99?= =?UTF-8?q?=E6=A0=B7=E7=9A=84=E5=BC=80=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/entity/mch/MchManageEntity.java | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pjcloud-wallet/pjcloud-wallet-api/src/main/java/com/bsd/pjcloud/wallet/api/entity/mch/MchManageEntity.java b/pjcloud-wallet/pjcloud-wallet-api/src/main/java/com/bsd/pjcloud/wallet/api/entity/mch/MchManageEntity.java index f56b1336a..04c8eefe8 100644 --- a/pjcloud-wallet/pjcloud-wallet-api/src/main/java/com/bsd/pjcloud/wallet/api/entity/mch/MchManageEntity.java +++ b/pjcloud-wallet/pjcloud-wallet-api/src/main/java/com/bsd/pjcloud/wallet/api/entity/mch/MchManageEntity.java @@ -168,6 +168,14 @@ public class MchManageEntity extends Model { @TableField(typeHandler = JacksonTypeHandler.class) private FunctionScope functionScope; + + /** + * 订餐详细配置 + */ + @Schema(description = "订餐详细配置") + @TableField(typeHandler = JacksonTypeHandler.class) + private TableReservationConf tableReservationConf; + /** * 功能范围 */ @@ -217,6 +225,16 @@ public class MchManageEntity extends Model { @Schema(description = "租户ID") private Long tenantId; + @Data + public static class TableReservationConf { + + /** + * 订餐购物车是否只允许有一个商品 + */ + private Boolean singleProductOnlyInCart = false; + + } + @Data public static class FunctionScope { @@ -270,4 +288,4 @@ public class MchManageEntity extends Model { } -} \ No newline at end of file +}