@@ -3,55 +3,48 @@
|
||||
// 此代码由T4模板自动生成 byzhouhang 20210918
|
||||
// 生成时间 2021-12-06 10:49:39
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果重新生成代码,这些更改将会丢失。
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
|
||||
[Comment("影像 - 非dicom检查关联文件表")]
|
||||
[Table("NoneDicomStudyFile")]
|
||||
public class NoneDicomStudyFile : BaseAddAuditEntity
|
||||
{
|
||||
|
||||
[Table("NoneDicomStudyFile")]
|
||||
public class NoneDicomStudyFile : BaseAddAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
[ForeignKey("NoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy NoneDicomStudy { get; set; }
|
||||
#region 导航属性
|
||||
[ForeignKey("NoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy NoneDicomStudy { get; set; }
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
[JsonIgnore]
|
||||
public VisitTask VisitTask { get; set; }
|
||||
|
||||
[ForeignKey("OriginNoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy OriginNoneDicomStudy { get; set; }
|
||||
#endregion
|
||||
[ForeignKey("OriginNoneDicomStudyId")]
|
||||
[JsonIgnore]
|
||||
public NoneDicomStudy OriginNoneDicomStudy { get; set; }
|
||||
#endregion
|
||||
|
||||
|
||||
public Guid NoneDicomStudyId { get; set; }
|
||||
public string FileName { get; set; } = null!;
|
||||
|
||||
public long? FileSize { get; set; }
|
||||
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string FileType { get; set; } = null!;
|
||||
|
||||
public Guid NoneDicomStudyId { get; set; }
|
||||
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
[Comment("为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑")]
|
||||
public Guid? OriginNoneDicomStudyId { get; set; }
|
||||
|
||||
public string FileType { get; set; } = string.Empty;
|
||||
[StringLength(512)]
|
||||
public string Path { get; set; } = null!;
|
||||
|
||||
public long? FileSize { get; set; }
|
||||
[Comment("任务Id,配合OriginNoneDicomStudyId 一起使用")]
|
||||
public Guid? VisitTaskId { get; set; }
|
||||
|
||||
|
||||
#region 跟任务绑定 同时区分检查
|
||||
|
||||
public Guid? VisitTaskId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 为了不影响原始检查,跟任务绑定的 NoneDicomStudyId 为guid空 这个字段记录跟原始检查绑
|
||||
/// </summary>
|
||||
public Guid? OriginNoneDicomStudyId { get; set; }
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user