From a3990d3644885c51f4ea0fc7a27c1097f4808bfb Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期四, 30 五月 2024 11:05:42 +0800 Subject: [PATCH] 5.30 --- 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