2026-08-13 15:00:39 +08:00
|
|
|
namespace Gpulse.WCT.DataAnalyzer.Core.Domain.Local;
|
2026-07-02 18:13:56 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 测试场景实体 - 通过外键关联各维度表
|
|
|
|
|
/// </summary>
|
|
|
|
|
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<QfodRecord> QfodRecords { get; set; } = [];
|
|
|
|
|
public ICollection<PlossRecord> PlossRecords { get; set; } = [];
|
|
|
|
|
}
|