You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
201 lines
5.7 KiB
C#
201 lines
5.7 KiB
C#
using System;
|
|
using System.Data;
|
|
|
|
namespace DSWeb.Models
|
|
{
|
|
public class WorkFlowStepEntity
|
|
{
|
|
#region 私有成员
|
|
private string _gid;//主键唯一值
|
|
private string _name;//系统名称
|
|
private string _description;//显示名称
|
|
private string _workflow_id;//工作流GID
|
|
private int _step_no;//序列值
|
|
private string _default_auditor;//默认审核人
|
|
private string _auditor;//审核人
|
|
private string _condition_id;//工作流触发条件
|
|
private bool _is_must;//是否必须执行本阶段审核
|
|
private bool _is_last;//是否为最后审核
|
|
private string _groupid;//审核组 既并行权限 多个审核人如果具有并行权限则指定GROUPID值相等
|
|
private string _create_user;//创建人
|
|
private DateTime _create_time;//创建时间
|
|
private string _modified_user;//最后一次更新操作人GID
|
|
private DateTime _modified_time;//最后一次更新操作时间
|
|
private string _remark;//备注
|
|
private bool _is_department;//是否是区分部门权限
|
|
private bool _is_parallel;//是否并行权限
|
|
private string _department_id;//部门GID 只有具有区分部门权限时才有相应的部门GID对应
|
|
|
|
private WorkFlowConditionEntity _workFlowConditionEntity;//工作流步骤条件
|
|
#endregion
|
|
|
|
public WorkFlowStepEntity()
|
|
{
|
|
}
|
|
|
|
#region 读写属性
|
|
/// <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 WorkFlowID
|
|
{
|
|
get { return _workflow_id; }
|
|
set { _workflow_id = value; }
|
|
}
|
|
/// <summary>
|
|
/// 序列值
|
|
/// </summary>
|
|
public int StepNO
|
|
{
|
|
get { return _step_no; }
|
|
set { _step_no = value; }
|
|
}
|
|
/// <summary>
|
|
/// 默认审核人
|
|
/// </summary>
|
|
public string DefaultAuditor
|
|
{
|
|
get { return _default_auditor; }
|
|
set { _default_auditor = value; }
|
|
}
|
|
/// <summary>
|
|
/// 审核人
|
|
/// </summary>
|
|
public string Auditor
|
|
{
|
|
get { return _auditor; }
|
|
set { _auditor = value; }
|
|
}
|
|
/// <summary>
|
|
/// 工作流触发条件
|
|
/// </summary>
|
|
public string ConditionID
|
|
{
|
|
get { return _condition_id; }
|
|
set { _condition_id = value; }
|
|
}
|
|
/// <summary>
|
|
/// 是否必须执行本阶段审核
|
|
/// </summary>
|
|
public bool IsMust
|
|
{
|
|
get { return _is_must; }
|
|
set { _is_must = value; }
|
|
}
|
|
/// <summary>
|
|
/// 是否为最后审核
|
|
/// </summary>
|
|
public bool IsLast
|
|
{
|
|
get { return _is_last; }
|
|
set { _is_last = value; }
|
|
}
|
|
/// <summary>
|
|
/// 审核组 既并行权限 多个审核人如果具有并行权限则指定GROUPID值相等
|
|
/// </summary>
|
|
public string GroupID
|
|
{
|
|
get { return _groupid; }
|
|
set { _groupid = value; }
|
|
}
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </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 string Remark
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
/// <summary>
|
|
/// 工作流步骤条件
|
|
/// </summary>
|
|
public WorkFlowConditionEntity WorkFlowCondition
|
|
{
|
|
get { return _workFlowConditionEntity; }
|
|
set { _workFlowConditionEntity = value; }
|
|
}
|
|
/// <summary>
|
|
/// 是否是区分部门权限
|
|
/// </summary>
|
|
public bool IsDepartment
|
|
{
|
|
get { return _is_department; }
|
|
set { _is_department = value; }
|
|
}
|
|
/// <summary>
|
|
/// 是否并行权限
|
|
/// </summary>
|
|
public bool IsParallel
|
|
{
|
|
get { return _is_parallel; }
|
|
set { _is_parallel = value; }
|
|
}
|
|
/// <summary>
|
|
/// 部门GID 只有具有区分部门权限时才有相应的部门GID对应
|
|
/// </summary>
|
|
public string DepartmentID
|
|
{
|
|
get { return _department_id; }
|
|
set { _department_id = value; }
|
|
}
|
|
#endregion
|
|
}
|
|
}
|
|
|