mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
98 lines
3.4 KiB
C#
98 lines
3.4 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 System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace OpenAuth.Repository.Models.Mapping
|
|
{
|
|
public partial class WFProcessInstanceMap
|
|
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Domain.WFProcessInstance>
|
|
{
|
|
public WFProcessInstanceMap()
|
|
{
|
|
// table
|
|
ToTable("WF_ProcessInstance", "dbo");
|
|
|
|
// keys
|
|
HasKey(t => t.Id);
|
|
|
|
// Properties
|
|
Property(t => t.Id)
|
|
.HasColumnName("Id")
|
|
.HasMaxLength(50)
|
|
.IsRequired();
|
|
Property(t => t.Code)
|
|
.HasColumnName("Code")
|
|
.HasMaxLength(200)
|
|
.IsOptional();
|
|
Property(t => t.CustomName)
|
|
.HasColumnName("CustomName")
|
|
.HasMaxLength(200)
|
|
.IsOptional();
|
|
Property(t => t.ActivityId)
|
|
.HasColumnName("ActivityId")
|
|
.HasMaxLength(50)
|
|
.IsOptional();
|
|
Property(t => t.ActivityType)
|
|
.HasColumnName("ActivityType")
|
|
.IsOptional();
|
|
Property(t => t.ActivityName)
|
|
.HasColumnName("ActivityName")
|
|
.HasMaxLength(200)
|
|
.IsOptional();
|
|
Property(t => t.ProcessSchemeId)
|
|
.HasColumnName("ProcessSchemeId")
|
|
.HasMaxLength(50)
|
|
.IsRequired();
|
|
Property(t => t.PreviousId)
|
|
.HasColumnName("PreviousId")
|
|
.HasMaxLength(50)
|
|
.IsOptional();
|
|
Property(t => t.FrmType)
|
|
.HasColumnName("FrmType")
|
|
.IsOptional();
|
|
Property(t => t.SchemeType)
|
|
.HasColumnName("SchemeType")
|
|
.HasMaxLength(50)
|
|
.IsOptional();
|
|
Property(t => t.EnabledMark)
|
|
.HasColumnName("EnabledMark")
|
|
.IsOptional();
|
|
Property(t => t.CreateDate)
|
|
.HasColumnName("CreateDate")
|
|
.IsOptional();
|
|
Property(t => t.CreateUserId)
|
|
.HasColumnName("CreateUserId")
|
|
.HasMaxLength(50)
|
|
.IsOptional();
|
|
Property(t => t.CreateUserName)
|
|
.HasColumnName("CreateUserName")
|
|
.HasMaxLength(50)
|
|
.IsOptional();
|
|
Property(t => t.WfLevel)
|
|
.HasColumnName("wfLevel")
|
|
.IsOptional();
|
|
Property(t => t.Description)
|
|
.HasColumnName("Description")
|
|
.HasMaxLength(200)
|
|
.IsOptional();
|
|
Property(t => t.IsFinish)
|
|
.HasColumnName("isFinish")
|
|
.IsOptional();
|
|
Property(t => t.MakerList)
|
|
.HasColumnName("MakerList")
|
|
.HasMaxLength(1000)
|
|
.IsOptional();
|
|
|
|
// Relationships
|
|
}
|
|
}
|
|
}
|