feat(training): add TrainingAngleResult entity and DbSet
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
@@ -18,8 +19,18 @@ namespace OpenNest.Training.Data
|
||||
public long TimeMs { get; set; }
|
||||
public string LayoutData { get; set; }
|
||||
public string FilePath { get; set; }
|
||||
public string WinnerEngine { get; set; } = "";
|
||||
public long WinnerTimeMs { get; set; }
|
||||
public string RunnerUpEngine { get; set; } = "";
|
||||
public int RunnerUpPartCount { get; set; }
|
||||
public long RunnerUpTimeMs { get; set; }
|
||||
public string ThirdPlaceEngine { get; set; } = "";
|
||||
public int ThirdPlacePartCount { get; set; }
|
||||
public long ThirdPlaceTimeMs { get; set; }
|
||||
|
||||
[ForeignKey(nameof(PartId))]
|
||||
public TrainingPart Part { get; set; }
|
||||
|
||||
public List<TrainingAngleResult> AngleResults { get; set; } = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user