|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class WorkFlowEntity //工作流表workflow
|
|
|
|
|
{
|
|
|
|
|
private string _gid;//唯一主键
|
|
|
|
|
private string _name;//系统名称
|
|
|
|
|
private string _description;//显示名称
|
|
|
|
|
private string _module_id;//模块GID
|
|
|
|
|
private int _type;//类型
|
|
|
|
|
private string _create_user;//创建人GID
|
|
|
|
|
private DateTime _create_time;//创建时间
|
|
|
|
|
private string _modified_user;//最后一次更新操作人GID
|
|
|
|
|
private DateTime _modified_time;//最后一次更新操作时间
|
|
|
|
|
private int _state;//状态值
|
|
|
|
|
private int _sort;//排序值
|
|
|
|
|
private bool _is_delete;//是否被删除
|
|
|
|
|
private string _company_id;//所属公司GID
|
|
|
|
|
|
|
|
|
|
private IList<WorkFlowStepEntity> _workflow_steps;//工作流步骤信息
|
|
|
|
|
|
|
|
|
|
public WorkFlowEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 系统名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get { return _name; }
|
|
|
|
|
set { _name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 显示名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description
|
|
|
|
|
{
|
|
|
|
|
get { return _description; }
|
|
|
|
|
set { _description = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 模块GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModuleID
|
|
|
|
|
{
|
|
|
|
|
get { return _module_id; }
|
|
|
|
|
set { _module_id = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Type
|
|
|
|
|
{
|
|
|
|
|
get { return _type; }
|
|
|
|
|
set { _type = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateUser
|
|
|
|
|
{
|
|
|
|
|
get { return _create_user; }
|
|
|
|
|
set { _create_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime
|
|
|
|
|
{
|
|
|
|
|
get { return _create_time; }
|
|
|
|
|
set { _create_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作人GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModifiedUser
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_user; }
|
|
|
|
|
set { _modified_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ModifiedTime
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_time; }
|
|
|
|
|
set { _modified_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int State
|
|
|
|
|
{
|
|
|
|
|
get { return _state; }
|
|
|
|
|
set { _state = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Sort
|
|
|
|
|
{
|
|
|
|
|
get { return _sort; }
|
|
|
|
|
set { _sort = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否被删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsDelete
|
|
|
|
|
{
|
|
|
|
|
get { return _is_delete; }
|
|
|
|
|
set { _is_delete = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工作流步骤信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public IList<WorkFlowStepEntity> WorkFlowSteps
|
|
|
|
|
{
|
|
|
|
|
get { return _workflow_steps; }
|
|
|
|
|
set { _workflow_steps = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属公司GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CompanyID
|
|
|
|
|
{
|
|
|
|
|
get { return _company_id; }
|
|
|
|
|
set { _company_id = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|