mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-22 21:00:47 +08:00
74 lines
2.5 KiB
C#
74 lines
2.5 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>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace OpenAuth.Repository.Models.Mapping
|
|
{
|
|
public partial class WFProcessTransitionHistoryMap
|
|
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFProcessTransitionHistory>
|
|
{
|
|
public WFProcessTransitionHistoryMap()
|
|
{
|
|
// table
|
|
ToTable("WF_ProcessTransitionHistory", "dbo");
|
|
|
|
// keys
|
|
HasKey(t => t.Id);
|
|
|
|
// Properties
|
|
Property(t => t.Id)
|
|
.HasColumnName("Id")
|
|
.IsRequired();
|
|
Property(t => t.ProcessId)
|
|
.HasColumnName("ProcessId")
|
|
.IsRequired();
|
|
Property(t => t.FromNodeId)
|
|
.HasColumnName("fromNodeId")
|
|
.HasMaxLength(50)
|
|
.IsRequired();
|
|
Property(t => t.FromNodeType)
|
|
.HasColumnName("fromNodeType")
|
|
.IsOptional();
|
|
Property(t => t.FromNodeName)
|
|
.HasColumnName("fromNodeName")
|
|
.HasMaxLength(200)
|
|
.IsOptional();
|
|
Property(t => t.ToNodeId)
|
|
.HasColumnName("toNodeId")
|
|
.HasMaxLength(50)
|
|
.IsRequired();
|
|
Property(t => t.ToNodeType)
|
|
.HasColumnName("toNodeType")
|
|
.IsOptional();
|
|
Property(t => t.ToNodeName)
|
|
.HasColumnName("toNodeName")
|
|
.HasMaxLength(200)
|
|
.IsOptional();
|
|
Property(t => t.TransitionSate)
|
|
.HasColumnName("TransitionSate")
|
|
.IsRequired();
|
|
Property(t => t.IsFinish)
|
|
.HasColumnName("isFinish")
|
|
.IsRequired();
|
|
Property(t => t.CreateDate)
|
|
.HasColumnName("CreateDate")
|
|
.IsRequired();
|
|
Property(t => t.CreateUserId)
|
|
.HasColumnName("CreateUserId")
|
|
.HasMaxLength(50)
|
|
.IsRequired();
|
|
Property(t => t.CreateUserName)
|
|
.HasColumnName("CreateUserName")
|
|
.HasMaxLength(50)
|
|
.IsRequired();
|
|
|
|
// Relationships
|
|
}
|
|
}
|
|
}
|