操控平台后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
1.9 KiB

1 month ago
// 大名科技(天津)有限公司版权所有 电话:18020030720 QQ:515096995
//
// 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
using System.ComponentModel.DataAnnotations;
using Admin.NET.Core;
namespace Admin.NET.Bodk.Genetic.Models.Reports;
public class QueryReportInput : BasePageInput
{
[Required(ErrorMessage = "客户Id不能为空")] public long CustomerId { get; set; }
}
public class ReportOutput
{
public long Id { get; set; }
public long CustomerId { get; set; }
public string? Barcode { get; set; }
public string? SampleType { get; set; }
public string? TestingType { get; set; }
public string? TestingMethod { get; set; }
public DateTime? SubmissionTime { get; set; }
public DateTime? ReportTime { get; set; }
public bool? SampleQuality { get; set; }
public bool? DnaExtraction { get; set; }
public bool? Pcr { get; set; }
public bool? TofMs { get; set; }
public bool? GenotypingAnalysis { get; set; }
public bool? GeneticRiskAssessment { get; set; }
public bool? Report { get; set; }
public List<TumorOutput> Tumors { get; set; } = new List<TumorOutput>();
}
public class TumorOutput
{
public long Id { get; set; }
public long ReportId { get; set; }
public long TumorId { get; set; }
public string Code { get; set; }
public string TumorName { get; set; }
public string Description { get; set; }
public double RiskScore { get; set; }
public double AvaRiskScore { get; set; }
public int RiskLevel { get; set; }
public List<LocusOutput> Loci { get; set; } = [];
}
public class LocusOutput
{
public long Id { get; set; }
public string Description { get; set; }
public string GenekType { get; set; }
public bool Risk { get; set; }
public string LocusName { get; set; }
public string Position { get; set; }
}