35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								//------------------------------------------------------------------------------
							 | 
						|||
| 
								 | 
							
								// <autogenerated>
							 | 
						|||
| 
								 | 
							
								//     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.
							 | 
						|||
| 
								 | 
							
								// </autogenerated>
							 | 
						|||
| 
								 | 
							
								//------------------------------------------------------------------------------
							 | 
						|||
| 
								 | 
							
								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<T_PF_FLOW_INSTANCE_OPER_HIS>
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
										public override void Configure(EntityTypeBuilder<T_PF_FLOW_INSTANCE_OPER_HIS> 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
							 | 
						|||
| 
								 | 
							
										} 
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |