Updating
This commit is contained in:
+22
@@ -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; }
|
||||
}
|
||||
}
|
||||
+10
@@ -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; }
|
||||
}
|
||||
}
|
||||
+15
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user