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 读写属性 /// /// 主键唯一值 /// public string GID { get { return _gid; } set { _gid = value; } } /// /// 系统名称 /// public string Name { get { return _name; } set { _name = value; } } /// /// 显示名称 /// public string Description { get { return _description; } set { _description = value; } } /// /// 工作流GID /// public string WorkFlowID { get { return _workflow_id; } set { _workflow_id = value; } } /// /// 序列值 /// public int StepNO { get { return _step_no; } set { _step_no = value; } } /// /// 默认审核人 /// public string DefaultAuditor { get { return _default_auditor; } set { _default_auditor = value; } } /// /// 审核人 /// public string Auditor { get { return _auditor; } set { _auditor = value; } } /// /// 工作流触发条件 /// public string ConditionID { get { return _condition_id; } set { _condition_id = value; } } /// /// 是否必须执行本阶段审核 /// public bool IsMust { get { return _is_must; } set { _is_must = value; } } /// /// 是否为最后审核 /// public bool IsLast { get { return _is_last; } set { _is_last = value; } } /// /// 审核组 既并行权限 多个审核人如果具有并行权限则指定GROUPID值相等 /// public string GroupID { get { return _groupid; } set { _groupid = value; } } /// /// 创建人 /// public string CreateUser { get { return _create_user; } set { _create_user = value; } } /// /// 创建时间 /// public DateTime CreateTime { get { return _create_time; } set { _create_time = value; } } /// /// 最后一次更新操作人GID /// public string ModifiedUser { get { return _modified_user; } set { _modified_user = value; } } /// /// 最后一次更新操作时间 /// public DateTime ModifiedTime { get { return _modified_time; } set { _modified_time = value; } } /// /// 备注 /// public string Remark { get { return _remark; } set { _remark = value; } } /// /// 工作流步骤条件 /// public WorkFlowConditionEntity WorkFlowCondition { get { return _workFlowConditionEntity; } set { _workFlowConditionEntity = value; } } /// /// 是否是区分部门权限 /// public bool IsDepartment { get { return _is_department; } set { _is_department = value; } } /// /// 是否并行权限 /// public bool IsParallel { get { return _is_parallel; } set { _is_parallel = value; } } /// /// 部门GID 只有具有区分部门权限时才有相应的部门GID对应 /// public string DepartmentID { get { return _department_id; } set { _department_id = value; } } #endregion } }