//------------------------------------------------------------------------------ // // This code was generated by a CodeSmith Template. // // DO NOT MODIFY contents of this file. Changes to this // file will be lost if the code is regenerated. // //------------------------------------------------------------------------------ using APT.BaseData.Domain.Entities; using APT.Infrastructure.EF.Map; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace APT.BaseData.Data.Mapping { public partial class PFFlowInstanceOperHisMap : APTEntityBaseMap { public override void Configure(EntityTypeBuilder builder) { base.Configure(builder); builder.Property(t => t.Content) .HasMaxLength(200); builder.Property(t => t.CreateDate) ; builder.Property(t => t.CreateUserId) .HasMaxLength(50); builder.Property(t => t.CreateUserName) .HasMaxLength(50); builder.HasOne(t => t.FlowInstance). WithMany(t => t.OperationHistorys). HasForeignKey(t => t.InstanceId); // Relationships } } }