//------------------------------------------------------------------------------
//
// 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.Domain
{
///
/// 工作流实例模板对应表
///
public partial class WFProcessScheme : Entity
{
public WFProcessScheme()
{
this.SchemeContent= string.Empty;
this.SchemeInfoId= string.Empty;
this.SchemeVersion= string.Empty;
}
///
/// 流程模板内容
///
public string SchemeContent { get; set; }
///
/// 流程模板ID
///
public string SchemeInfoId { get; set; }
///
/// 流程内容版本
///
public string SchemeVersion { get; set; }
///
/// 类型(0正常,3草稿)
///
public int? ProcessType { get; set; }
#region 扩展操作
///
/// 新增调用
///
public void Create()
{
this.Id = Guid.NewGuid().ToString();
}
///
/// 编辑调用
///
///
public void Modify(string keyValue)
{
this.Id = keyValue;
}
#endregion
}
}