namespace Gpulse.WCT.DataAnalyzer.Core.Domain.Local; /// /// 测试场景实体 - 通过外键关联各维度表 /// public class TestScenario { public Guid Id { get; set; } = Guid.NewGuid(); public Guid TxPanelId { get; set; } public Guid TxHardwareId { get; set; } public Guid TxSoftwareId { get; set; } public Guid RxTypeId { get; set; } public string? TestPurpose { get; set; } public DateOnly TestDate { get; set; } public int TestSequence { get; set; } = 1; public int QfodCount { get; set; } = 0; public int PlossCount { get; set; } = 0; public bool IsDeleted { get; set; } = false; public DateTime CreatedAt { get; set; } = DateTime.UtcNow; // Navigation Properties - 维度表 public TxPanel TxPanel { get; set; } = null!; public TxHardware TxHardware { get; set; } = null!; public TxSoftware TxSoftware { get; set; } = null!; public RxType RxType { get; set; } = null!; // Navigation Properties - 数据记录 public ICollection QfodRecords { get; set; } = []; public ICollection PlossRecords { get; set; } = []; }