namespace ScadaLink.Commons.Entities.Deployment;

public class SystemArtifactDeploymentRecord
{
    public int Id { get; set; }
    public string ArtifactType { get; set; }
    public string DeployedBy { get; set; }
    public DateTimeOffset DeployedAt { get; set; }
    public string? PerSiteStatus { get; set; }

    public SystemArtifactDeploymentRecord(string artifactType, string deployedBy)
    {
        ArtifactType = artifactType ?? throw new ArgumentNullException(nameof(artifactType));
        DeployedBy = deployedBy ?? throw new ArgumentNullException(nameof(deployedBy));
    }
}
