Browse Source

添加导航字段及父级节点id

develop-lawyerExampaper
胡超1 2 years ago
parent
commit
0d0513da48
  1. 5
      Elight.Entity/AppMode/Lawyer/JZJBXX.cs
  2. 10
      Elight.Entity/AppMode/Lawyer/JZML.cs
  3. 6
      Elight.Entity/AppMode/Lawyer/JZWJItem.cs

5
Elight.Entity/AppMode/Lawyer/JZJBXX.cs

@ -56,5 +56,10 @@ namespace Elight.Entity.AppMode.Lawyer
/// 案件类别名称 /// 案件类别名称
/// </summary> /// </summary>
public string ajlbmc { get; set; } public string ajlbmc { get; set; }
/// <summary>
/// 导航
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(JZML.jzId))]//BookA表中的studenId
public List<JZML> jzml { get; set; }//注意禁止给books手动赋值
} }
} }

10
Elight.Entity/AppMode/Lawyer/JZML.cs

@ -22,6 +22,10 @@ namespace Elight.Entity.AppMode.Lawyer
[SugarColumn(IsPrimaryKey = true)] [SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; } public string Id { get; set; }
/// <summary> /// <summary>
/// 卷宗Id
/// </summary>
public string? jzId { get; set; }
/// <summary>
/// ///
/// </summary> /// </summary>
public string taskid { get; set; } public string taskid { get; set; }
@ -65,6 +69,12 @@ namespace Elight.Entity.AppMode.Lawyer
/// 单位编码 /// 单位编码
/// </summary> /// </summary>
public string dwbm { get; set; } public string dwbm { get; set; }
/// <summary>
/// 导航
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(JZWJItem.jzmlId))]//BookA表中的studenId
public List<JZWJItem> jzwj { get; set; }//注意禁止给books手动赋值
} }

6
Elight.Entity/AppMode/Lawyer/JZWJItem.cs

@ -23,6 +23,10 @@ namespace Elight.Entity.AppMode.Lawyer
[DataMember] [DataMember]
[SugarColumn(IsPrimaryKey = true)] [SugarColumn(IsPrimaryKey = true)]
public string Id { get; set; } public string Id { get; set; }
/// <summary>
/// 卷宗目录Id
/// </summary>
public string? jzmlId { get; set; }
[DataMember] [DataMember]
public string wjxh { get; set; } public string wjxh { get; set; }
[DataMember] [DataMember]
@ -69,7 +73,7 @@ namespace Elight.Entity.AppMode.Lawyer
/// <summary> /// <summary>
/// 文件顺序号 排序 /// 文件顺序号 排序
/// </summary> /// </summary>
public int wjsxh { get; set; } public string wjsxh { get; set; }
[DataMember] [DataMember]
/// <summary> /// <summary>
/// 文件显示名称 第二页 /// 文件显示名称 第二页

Loading…
Cancel
Save