From 0d0513da483ef3741bab3da26336be0316baedb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BD=87=E9=98=B3=20=E9=82=B9?= Date: Tue, 24 Oct 2023 00:36:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AF=BC=E8=88=AA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=8F=8A=E7=88=B6=E7=BA=A7=E8=8A=82=E7=82=B9id?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Elight.Entity/AppMode/Lawyer/JZJBXX.cs | 5 +++++ Elight.Entity/AppMode/Lawyer/JZML.cs | 12 +++++++++++- Elight.Entity/AppMode/Lawyer/JZWJItem.cs | 6 +++++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Elight.Entity/AppMode/Lawyer/JZJBXX.cs b/Elight.Entity/AppMode/Lawyer/JZJBXX.cs index 3e0ec19..76dce64 100644 --- a/Elight.Entity/AppMode/Lawyer/JZJBXX.cs +++ b/Elight.Entity/AppMode/Lawyer/JZJBXX.cs @@ -56,5 +56,10 @@ namespace Elight.Entity.AppMode.Lawyer /// 案件类别名称 /// public string ajlbmc { get; set; } + /// + /// 导航 + /// + [Navigate(NavigateType.OneToMany, nameof(JZML.jzId))]//BookA表中的studenId + public List jzml { get; set; }//注意禁止给books手动赋值 } } diff --git a/Elight.Entity/AppMode/Lawyer/JZML.cs b/Elight.Entity/AppMode/Lawyer/JZML.cs index 43d6cc1..beeef6a 100644 --- a/Elight.Entity/AppMode/Lawyer/JZML.cs +++ b/Elight.Entity/AppMode/Lawyer/JZML.cs @@ -22,6 +22,10 @@ namespace Elight.Entity.AppMode.Lawyer [SugarColumn(IsPrimaryKey = true)] public string Id { get; set; } /// + /// 卷宗Id + /// + public string? jzId { get; set; } + /// /// /// public string taskid { get; set; } @@ -65,8 +69,14 @@ namespace Elight.Entity.AppMode.Lawyer /// 单位编码 /// public string dwbm { get; set; } + + /// + /// 导航 + /// + [Navigate(NavigateType.OneToMany, nameof(JZWJItem.jzmlId))]//BookA表中的studenId + public List jzwj { get; set; }//注意禁止给books手动赋值 } - + } diff --git a/Elight.Entity/AppMode/Lawyer/JZWJItem.cs b/Elight.Entity/AppMode/Lawyer/JZWJItem.cs index 3f00d78..a78f4ee 100644 --- a/Elight.Entity/AppMode/Lawyer/JZWJItem.cs +++ b/Elight.Entity/AppMode/Lawyer/JZWJItem.cs @@ -23,6 +23,10 @@ namespace Elight.Entity.AppMode.Lawyer [DataMember] [SugarColumn(IsPrimaryKey = true)] public string Id { get; set; } + /// + /// 卷宗目录Id + /// + public string? jzmlId { get; set; } [DataMember] public string wjxh { get; set; } [DataMember] @@ -69,7 +73,7 @@ namespace Elight.Entity.AppMode.Lawyer /// /// 文件顺序号 排序 /// - public int wjsxh { get; set; } + public string wjsxh { get; set; } [DataMember] /// /// 文件显示名称 第二页