mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-18 17:48:01 +08:00
去掉flowdetail
This commit is contained in:
@@ -23,7 +23,9 @@ namespace OpenAuth.Repository.Domain
|
||||
this.SchemeContent= string.Empty;
|
||||
this.SchemeId= string.Empty;
|
||||
this.SchemeVersion= string.Empty;
|
||||
this.ProcessType= 0;
|
||||
this.CreateDate= DateTime.Now;
|
||||
this.CreateUserId= string.Empty;
|
||||
this.CreateUserName= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -39,9 +41,17 @@ namespace OpenAuth.Repository.Domain
|
||||
/// </summary>
|
||||
public string SchemeVersion { get; set; }
|
||||
/// <summary>
|
||||
/// 类型(0正常,3草稿)
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public int ProcessType { get; set; }
|
||||
public System.DateTime CreateDate { get; set; }
|
||||
/// <summary>
|
||||
/// 创建用户主键
|
||||
/// </summary>
|
||||
public string CreateUserId { get; set; }
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string CreateUserName { get; set; }
|
||||
|
||||
}
|
||||
}
|
@@ -25,6 +25,8 @@ namespace OpenAuth.Repository.Domain
|
||||
this.SchemeType= string.Empty;
|
||||
this.SchemeVersion= string.Empty;
|
||||
this.SchemeCanUser= string.Empty;
|
||||
this.SchemeContent= string.Empty;
|
||||
this.FrmId= string.Empty;
|
||||
this.FrmType= 0;
|
||||
this.AuthorizeType= 0;
|
||||
this.SortCode= 0;
|
||||
@@ -59,12 +61,20 @@ namespace OpenAuth.Repository.Domain
|
||||
/// 流程模板使用者
|
||||
/// </summary>
|
||||
public string SchemeCanUser { get; set; }
|
||||
/// <summary>
|
||||
/// 流程内容
|
||||
/// </summary>
|
||||
public string SchemeContent { get; set; }
|
||||
/// <summary>
|
||||
/// 表单ID
|
||||
/// </summary>
|
||||
public string FrmId { get; set; }
|
||||
/// <summary>
|
||||
/// 表单类型
|
||||
/// </summary>
|
||||
public int FrmType { get; set; }
|
||||
/// <summary>
|
||||
/// 模板权限类型0所有人,1指定成员
|
||||
/// 模板权限类型:0完全公开,1指定部门/人员
|
||||
/// </summary>
|
||||
public int AuthorizeType { get; set; }
|
||||
/// <summary>
|
||||
|
@@ -1,57 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.
|
||||
// Author:Yubao Li
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
/// <summary>
|
||||
/// 工作流模板内容表
|
||||
/// </summary>
|
||||
public partial class FlowSchemeDetail : Entity
|
||||
{
|
||||
public FlowSchemeDetail()
|
||||
{
|
||||
this.SchemeId= string.Empty;
|
||||
this.SchemeVersion= string.Empty;
|
||||
this.SchemeContent= string.Empty;
|
||||
this.CreateDate= DateTime.Now;
|
||||
this.CreateUserId= string.Empty;
|
||||
this.CreateUserName= string.Empty;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 工作流模板信息主键Id
|
||||
/// </summary>
|
||||
public string SchemeId { get; set; }
|
||||
/// <summary>
|
||||
/// 流程内容版本
|
||||
/// </summary>
|
||||
public string SchemeVersion { get; set; }
|
||||
/// <summary>
|
||||
/// 流程内容
|
||||
/// </summary>
|
||||
public string SchemeContent { get; set; }
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public System.DateTime CreateDate { get; set; }
|
||||
/// <summary>
|
||||
/// 创建用户主键
|
||||
/// </summary>
|
||||
public string CreateUserId { get; set; }
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
public string CreateUserName { get; set; }
|
||||
|
||||
}
|
||||
}
|
@@ -39,9 +39,17 @@ namespace OpenAuth.Repository.Mapping
|
||||
.HasColumnName("SchemeVersion")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.ProcessType)
|
||||
.HasColumnName("ProcessType")
|
||||
Property(t => t.CreateDate)
|
||||
.HasColumnName("CreateDate")
|
||||
.IsRequired();
|
||||
Property(t => t.CreateUserId)
|
||||
.HasColumnName("CreateUserId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.CreateUserName)
|
||||
.HasColumnName("CreateUserName")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
|
||||
// Relationships
|
||||
}
|
||||
|
@@ -1,57 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.Mapping
|
||||
{
|
||||
public partial class FlowSchemeDetailMap
|
||||
: System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<OpenAuth.Repository.Domain.FlowSchemeDetail>
|
||||
{
|
||||
public FlowSchemeDetailMap()
|
||||
{
|
||||
// table
|
||||
ToTable("FlowSchemeDetail", "dbo");
|
||||
|
||||
// keys
|
||||
HasKey(t => t.Id);
|
||||
|
||||
// Properties
|
||||
Property(t => t.Id)
|
||||
.HasColumnName("Id")
|
||||
.HasMaxLength(50)
|
||||
.IsRequired();
|
||||
Property(t => t.SchemeId)
|
||||
.HasColumnName("SchemeId")
|
||||
.HasMaxLength(50)
|
||||
.IsRequired();
|
||||
Property(t => t.SchemeVersion)
|
||||
.HasColumnName("SchemeVersion")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.SchemeContent)
|
||||
.HasColumnName("SchemeContent")
|
||||
.IsOptional();
|
||||
Property(t => t.CreateDate)
|
||||
.HasColumnName("CreateDate")
|
||||
.IsRequired();
|
||||
Property(t => t.CreateUserId)
|
||||
.HasColumnName("CreateUserId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.CreateUserName)
|
||||
.HasColumnName("CreateUserName")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
|
||||
// Relationships
|
||||
}
|
||||
}
|
||||
}
|
@@ -47,6 +47,13 @@ namespace OpenAuth.Repository.Mapping
|
||||
Property(t => t.SchemeCanUser)
|
||||
.HasColumnName("SchemeCanUser")
|
||||
.IsOptional();
|
||||
Property(t => t.SchemeContent)
|
||||
.HasColumnName("SchemeContent")
|
||||
.IsOptional();
|
||||
Property(t => t.FrmId)
|
||||
.HasColumnName("FrmId")
|
||||
.HasMaxLength(50)
|
||||
.IsOptional();
|
||||
Property(t => t.FrmType)
|
||||
.HasColumnName("FrmType")
|
||||
.IsRequired();
|
||||
|
@@ -65,7 +65,6 @@
|
||||
<Compile Include="Domain\FlowInstanceScheme.cs" />
|
||||
<Compile Include="Domain\FlowInstanceTransitionHistory.cs" />
|
||||
<Compile Include="Domain\FlowScheme.cs" />
|
||||
<Compile Include="Domain\FlowSchemeDetail.cs" />
|
||||
<Compile Include="Domain\Form.cs" />
|
||||
<Compile Include="Domain\Module.cs" />
|
||||
<Compile Include="Domain\ModuleElement.cs" />
|
||||
@@ -84,7 +83,6 @@
|
||||
<Compile Include="Mapping\FlowInstanceOperationHistoryMap.cs" />
|
||||
<Compile Include="Mapping\FlowInstanceSchemeMap.cs" />
|
||||
<Compile Include="Mapping\FlowInstanceTransitionHistoryMap.cs" />
|
||||
<Compile Include="Mapping\FlowSchemeDetailMap.cs" />
|
||||
<Compile Include="Mapping\FlowSchemeMap.cs" />
|
||||
<Compile Include="Mapping\FormMap.cs" />
|
||||
<Compile Include="UnitWork.cs" />
|
||||
|
@@ -46,7 +46,6 @@ namespace OpenAuth.Repository
|
||||
public System.Data.Entity.DbSet<FlowInstanceScheme> FlowInstanceSchemes { get; set; }
|
||||
public System.Data.Entity.DbSet<FlowInstanceTransitionHistory> FlowInstanceTransitionHistories { get; set; }
|
||||
public System.Data.Entity.DbSet<FlowScheme> FlowSchemes { get; set; }
|
||||
public System.Data.Entity.DbSet<FlowSchemeDetail> FlowSchemeDetails { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
@@ -67,7 +66,6 @@ namespace OpenAuth.Repository
|
||||
modelBuilder.Configurations.Add(new FlowInstanceSchemeMap());
|
||||
modelBuilder.Configurations.Add(new FlowInstanceTransitionHistoryMap());
|
||||
modelBuilder.Configurations.Add(new FlowSchemeMap());
|
||||
modelBuilder.Configurations.Add(new FlowSchemeDetailMap());
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user