23 lines
987 B
C#
23 lines
987 B
C#
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; }
|
|
}
|
|
}
|