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>
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
2017-11-29 20:49:14 +08:00
|
|
|
|
namespace OpenAuth.Repository.Domain
|
2017-10-11 16:19:34 +08:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工作流流程实例表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class WFProcessInstance : Entity
|
|
|
|
|
{
|
|
|
|
|
public WFProcessInstance()
|
|
|
|
|
{
|
|
|
|
|
this.Code= string.Empty;
|
|
|
|
|
this.CustomName= string.Empty;
|
|
|
|
|
this.ActivityId= string.Empty;
|
|
|
|
|
this.ActivityName= string.Empty;
|
|
|
|
|
this.ProcessSchemeId= string.Empty;
|
|
|
|
|
this.PreviousId= string.Empty;
|
|
|
|
|
this.SchemeType= string.Empty;
|
|
|
|
|
this.CreateDate= DateTime.Now;
|
|
|
|
|
this.CreateUserId= string.Empty;
|
|
|
|
|
this.CreateUserName= string.Empty;
|
|
|
|
|
this.Description= string.Empty;
|
|
|
|
|
this.MakerList= string.Empty;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实例编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自定义名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CustomName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前节点ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActivityId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前节点类型(0会签节点)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? ActivityType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前节点名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ActivityName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 流程实例模板Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ProcessSchemeId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 前一个ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PreviousId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表单类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? FrmType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 流程类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SchemeType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 有效标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? EnabledMark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public System.DateTime? CreateDate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建用户主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateUserId { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建用户
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateUserName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 等级
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? WfLevel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实例备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否完成
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? IsFinish { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 执行人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MakerList { get; set; }
|
|
|
|
|
|
2017-11-29 20:49:14 +08:00
|
|
|
|
|
2017-01-20 16:51:30 +08:00
|
|
|
|
#region 扩展操作
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 新增调用
|
|
|
|
|
/// </summary>
|
|
|
|
|
public void Create()
|
|
|
|
|
{
|
|
|
|
|
this.CreateDate = DateTime.Now;
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编辑调用
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="keyValue"></param>
|
2017-10-11 16:19:34 +08:00
|
|
|
|
public void Modify(string keyValue)
|
2017-01-20 16:51:30 +08:00
|
|
|
|
{
|
|
|
|
|
this.Id = keyValue;
|
|
|
|
|
}
|
2017-10-11 16:19:34 +08:00
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
}
|
2017-01-12 19:24:52 +08:00
|
|
|
|
}
|