From 06c5eda038f967dc0c0261e16eff0ad1a18e41e7 Mon Sep 17 00:00:00 2001
From: luodangjia <luodangjia>
Date: 星期三, 05 六月 2024 15:52:58 +0800
Subject: [PATCH] 6.5

---
 UserNTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/model/Line.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/UserNTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/model/Line.java b/UserNTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/model/Line.java
index b92b394..4997917 100644
--- a/UserNTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/model/Line.java
+++ b/UserNTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/model/Line.java
@@ -4,13 +4,16 @@
 import com.baomidou.mybatisplus.annotations.TableId;
 import com.baomidou.mybatisplus.annotations.TableName;
 import com.baomidou.mybatisplus.enums.IdType;
+import lombok.Data;
 
 import java.util.Date;
+import java.util.List;
 
 /**
  * 跨城线路
  */
 @TableName("t_line")
+@Data
 public class Line {
     /**
      * 主键
@@ -44,6 +47,9 @@
     @TableField("insertTime")
     private Date insertTime;
 
+    @TableField(exist = false)
+    private List<Site> sites;
+
     public Integer getId() {
         return id;
     }

--
Gitblit v1.7.1