From 5c3d381bdfdf1bef8391aa45572237370b720bc2 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期一, 30 六月 2025 17:02:39 +0800
Subject: [PATCH] 新增波次订单关联表

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaveOrderRela.java |   93 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 93 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaveOrderRela.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaveOrderRela.java
new file mode 100644
index 0000000..627cc27
--- /dev/null
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WaveOrderRela.java
@@ -0,0 +1,93 @@
+package com.vincent.rsf.server.manager.entity;
+
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import com.vincent.rsf.framework.common.Cools;
+import com.vincent.rsf.framework.common.SpringUtils;
+import com.vincent.rsf.server.system.service.UserService;
+import com.vincent.rsf.server.system.entity.User;
+import java.io.Serializable;
+import java.util.Date;
+
+@Data
+@TableName("man_wave_order_rela")
+public class WaveOrderRela implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * ID
+     */
+    @ApiModelProperty(value= "ID")
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 娉㈡ID
+     */
+    @ApiModelProperty(value= "娉㈡ID")
+    private Long waveId;
+
+    /**
+     * 娉㈡鏄庣粏ID
+     */
+    @ApiModelProperty(value= "娉㈡鏄庣粏ID")
+    private Long waveItemId;
+
+    /**
+     * 璁㈠崟ID
+     */
+    @ApiModelProperty(value= "璁㈠崟ID")
+    private Long orderId;
+
+    /**
+     * 璁㈠崟鏄庣粏ID
+     */
+    @ApiModelProperty(value= "璁㈠崟鏄庣粏ID")
+    private Long orderItemId;
+
+    /**
+     * 澶囨敞
+     */
+    @ApiModelProperty(value= "澶囨敞")
+    private String memo;
+
+    public WaveOrderRela() {}
+
+    public WaveOrderRela(Long waveId,Long waveItemId,Long orderId,Long orderItemId,String memo) {
+        this.waveId = waveId;
+        this.waveItemId = waveItemId;
+        this.orderId = orderId;
+        this.orderItemId = orderItemId;
+        this.memo = memo;
+    }
+
+//    WaveOrderRela waveOrderRela = new WaveOrderRela(
+//            null,    // 娉㈡ID
+//            null,    // 娉㈡鏄庣粏ID
+//            null,    // 璁㈠崟ID
+//            null,    // 璁㈠崟鏄庣粏ID
+//            null    // 澶囨敞
+//    );
+
+
+
+    public Boolean getStatusBool(){
+        if (null == this.status){ return null; }
+        switch (this.status){
+            case 1:
+                return true;
+            case 0:
+                return false;
+            default:
+                return null;
+        }
+    }
+
+}

--
Gitblit v1.9.1