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 ParameterMappings { get; set; } [ForeignKey("ApplicationMappingId")] public List RegexMappings { get; set; } } }