2017-10-11 16:19:34 +08:00
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <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>
|
|
|
|
|
//------------------------------------------------------------------------------
|
2020-10-22 14:59:36 +08:00
|
|
|
|
|
2017-10-11 16:19:34 +08:00
|
|
|
|
using System;
|
2020-10-22 14:59:36 +08:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using OpenAuth.Repository.Core;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
|
2017-11-29 20:49:14 +08:00
|
|
|
|
namespace OpenAuth.Repository.Domain
|
2017-10-11 16:19:34 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工作流流程实例表
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Table("FlowInstance")]
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public partial class FlowInstance : Entity
|
2017-10-11 16:19:34 +08:00
|
|
|
|
{
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public FlowInstance()
|
2017-10-11 16:19:34 +08:00
|
|
|
|
{
|
2018-03-12 23:44:05 +08:00
|
|
|
|
this.InstanceSchemeId= string.Empty;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.Code= string.Empty;
|
|
|
|
|
this.CustomName= string.Empty;
|
|
|
|
|
this.ActivityId= string.Empty;
|
|
|
|
|
this.ActivityName= string.Empty;
|
|
|
|
|
this.PreviousId= string.Empty;
|
2018-03-16 17:33:54 +08:00
|
|
|
|
this.SchemeContent= string.Empty;
|
|
|
|
|
this.SchemeId= string.Empty;
|
|
|
|
|
this.DbName= string.Empty;
|
2020-10-22 14:59:36 +08:00
|
|
|
|
this.FrmData= string.Empty;
|
2018-03-12 23:44:05 +08:00
|
|
|
|
this.FrmType= 0;
|
2018-03-16 17:33:54 +08:00
|
|
|
|
this.FrmContentData= string.Empty;
|
|
|
|
|
this.FrmContentParse= string.Empty;
|
|
|
|
|
this.FrmId= string.Empty;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.SchemeType= string.Empty;
|
2018-03-12 23:44:05 +08:00
|
|
|
|
this.Disabled= 0;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.CreateDate= DateTime.Now;
|
|
|
|
|
this.CreateUserId= string.Empty;
|
|
|
|
|
this.CreateUserName= string.Empty;
|
2018-03-12 23:44:05 +08:00
|
|
|
|
this.FlowLevel= 0;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.Description= string.Empty;
|
2018-03-12 23:44:05 +08:00
|
|
|
|
this.IsFinish= 0;
|
2017-10-11 16:19:34 +08:00
|
|
|
|
this.MakerList= string.Empty;
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-12 23:44:05 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 流程实例模板Id【已废弃】
|
2018-03-12 23:44:05 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("流程实例模板Id")]
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public string InstanceSchemeId { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实例编号
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("实例编号")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自定义名称
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("自定义名称")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string CustomName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前节点ID
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("当前节点ID")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string ActivityId { get; set; }
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 当前节点类型(0会签节点)
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("当前节点类型(0会签节点)")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public int? ActivityType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前节点名称
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("当前节点名称")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string ActivityName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 前一个ID
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("前一个ID")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string PreviousId { get; set; }
|
2018-03-16 17:33:54 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 流程模板内容
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("流程模板内容")]
|
2018-03-16 17:33:54 +08:00
|
|
|
|
public string SchemeContent { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 流程模板ID
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("流程模板ID")]
|
2018-03-16 17:33:54 +08:00
|
|
|
|
public string SchemeId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据库名称
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("数据库名称")]
|
2018-03-16 17:33:54 +08:00
|
|
|
|
public string DbName { get; set; }
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表单数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("表单数据")]
|
|
|
|
|
public string FrmData { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表单类型
|
2021-02-20 22:06:02 +08:00
|
|
|
|
/// <para>0:动态表单;1:开发者自定义表单;2:拖动表单</para>
|
|
|
|
|
/// <para>当类型为1时,流程实例必需有DbName,用于直接向对应数据库表中写入数据</para>
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// </summary>
|
2021-02-20 22:06:02 +08:00
|
|
|
|
[Description("表单类型:0:动态表单;1:开发者自定义表单;2:拖动表单")]
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public int FrmType { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 表单中的控件属性描述
|
2018-03-16 17:33:54 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("表单中的控件属性描述")]
|
2018-03-16 17:33:54 +08:00
|
|
|
|
public string FrmContentData { get; set; }
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 表单控件位置模板
|
2018-03-16 17:33:54 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("表单控件位置模板")]
|
2018-03-16 17:33:54 +08:00
|
|
|
|
public string FrmContentParse { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表单ID
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("表单ID")]
|
2018-03-16 17:33:54 +08:00
|
|
|
|
public string FrmId { get; set; }
|
|
|
|
|
/// <summary>
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// 流程类型
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("流程类型")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string SchemeType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 有效标志
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("有效标志")]
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public int Disabled { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("创建时间")]
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public System.DateTime CreateDate { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建用户主键
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("创建用户主键")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string CreateUserId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建用户
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("创建用户")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string CreateUserName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 等级
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("等级")]
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public int FlowLevel { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实例备注
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("实例备注")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
/// <summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
/// 是否完成
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("是否完成")]
|
2018-03-12 23:44:05 +08:00
|
|
|
|
public int IsFinish { get; set; }
|
2017-10-11 16:19:34 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执行人
|
|
|
|
|
/// </summary>
|
2020-10-22 14:59:36 +08:00
|
|
|
|
[Description("执行人")]
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public string MakerList { get; set; }
|
2020-10-22 14:59:36 +08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属部门
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("所属部门")]
|
|
|
|
|
public string OrgId { get; set; }
|
2018-03-22 17:33:12 +08:00
|
|
|
|
|
2017-10-11 16:19:34 +08:00
|
|
|
|
}
|
2017-01-12 19:24:52 +08:00
|
|
|
|
}
|