using CAPI.Custom.Entities; using System.Data.Entity.ModelConfiguration; namespace CAPI.Custom.Data.Mappings { public class SupplierPricelistImportItemMapping : EntityTypeConfiguration { public SupplierPricelistImportItemMapping() { ToTable("qt_SupplierPricelistImportHistory"); HasKey(p => p.recId); Property(p => p.allowClone).HasColumnName("allowClone"); Property(p => p.allowEdit).HasColumnName("allowEdit"); Property(p => p.allowRemove).HasColumnName("allowRemove"); Property(p => p.allowView).HasColumnName("allowView"); Property(p => p.cloneAccessType).HasColumnName("cloneAccessType"); Property(p => p.editAccessType).HasColumnName("editAccessType"); Property(p => p.isActive).HasColumnName("isActive"); Property(p => p.isComplete).HasColumnName("isComplete"); Property(p => p.itemID).HasColumnName("itemID"); Property(p => p.linkUser).HasColumnName("linkUser"); Property(p => p.ParentSurfaceItemId).HasColumnName("ParentSurfaceItemId"); Property(p => p.recId).HasColumnName("recId"); Property(p => p.removeAccessType).HasColumnName("removeAccessType"); Property(p => p.showWizardStatus).HasColumnName("showWizardStatus"); Property(p => p.CompleteDateTimestamp).HasColumnName("SupplierPricelistImportHistory_History_CompleteDateTimestamp"); Property(p => p.FileName).HasColumnName("SupplierPricelistImportHistory_History_FileName"); Property(p => p.ImportType).HasColumnName("SupplierPricelistImportHistory_History_ImportType"); Property(p => p.Status).HasColumnName("SupplierPricelistImportHistory_History_Status"); Property(p => p.UploadDateTimestamp).HasColumnName("SupplierPricelistImportHistory_History_UploadDateTimestamp"); Property(p => p.UploadUser).HasColumnName("SupplierPricelistImportHistory_History_UploadUser"); Property(p => p.surfaceId).HasColumnName("surfaceId"); Property(p => p.surfaceLinkItems).HasColumnName("surfaceLinkItems"); Property(p => p.userLinkEmail).HasColumnName("userLinkEmail"); Property(p => p.userLinkId).HasColumnName("userLinkId"); Property(p => p.userType).HasColumnName("userType"); Property(p => p.viewAccessType).HasColumnName("viewAccessType"); } } }