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