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] /// /// 文件显示名称 第二页