18 lines
685 B
C#
18 lines
685 B
C#
namespace MarketAlly.GitCommitEditor.Models;
|
|
|
|
public sealed class ManagedRepo
|
|
{
|
|
public string Id { get; init; } = Guid.NewGuid().ToString("N")[..8];
|
|
public string Name { get; init; } = string.Empty;
|
|
public string Path { get; init; } = string.Empty;
|
|
public string? RemoteUrl { get; init; }
|
|
public string? CurrentBranch { get; init; }
|
|
public DateTimeOffset AddedAt { get; init; } = DateTimeOffset.UtcNow;
|
|
public DateTimeOffset? LastScannedAt { get; set; }
|
|
public DateTimeOffset? LastAnalyzedAt { get; set; }
|
|
public int TotalCommits { get; set; }
|
|
public int CommitsNeedingImprovement { get; set; }
|
|
|
|
public override string ToString() => Name;
|
|
}
|