This commit is contained in:
Zeeshaun
2026-03-17 10:03:23 -05:00
parent 1a0702a79a
commit bd1a9744ad
139 changed files with 5388 additions and 0 deletions
@@ -0,0 +1,22 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace LCU.Library.Internal.ArchiverApiModel.Entities
{
public class ApplicationMapping
{
public int ApplicationMappingId { get; set; }
[StringLength(200, ErrorMessage = "The Identifier value cannot exceed 200 characters.")]
public string Identifier { get; set; }
[StringLength(200, ErrorMessage = "The DesignatedName value cannot exceed 200 characters.")]
public string DesignatedName { get; set; }
[StringLength(200, ErrorMessage = "The ApplicationOverrideName value cannot exceed 200 characters.")]
public string ApplicationOverrideName { get; set; }
[ForeignKey("ApplicationMappingId")]
public List<ParameterMapping> ParameterMappings { get; set; }
[ForeignKey("ApplicationMappingId")]
public List<RegexMapping> RegexMappings { get; set; }
}
}
@@ -0,0 +1,10 @@
namespace LCU.Library.Internal.ArchiverApiModel.Entities
{
public class ParameterMapping
{
public int ParameterMappingId { get; set; }
public int ApplicationMappingId { get; set; }
public string ParameterCode { get; set; }
public string ParameterValue { get; set; }
}
}
@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
namespace LCU.Library.Internal.ArchiverApiModel.Entities
{
public class RegexMapping
{
public int RegexMappingId { get; set; }
[Required]
public int ApplicationMappingId { get; set; }
[Required]
public string Tag { get; set; }
[Required]
public string Regex { get; set; }
}
}