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.
675 lines
18 KiB
C#
675 lines
18 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.OA.Models.WorkFlow
|
|
{
|
|
[JsonObject]
|
|
public class WorkFlowTypemb : ModelObjectBillBody
|
|
{
|
|
private string _GID = string.Empty;
|
|
private string _NAME = string.Empty;
|
|
private string _DESCRIPTION = string.Empty;
|
|
private string _TYPENO = string.Empty;
|
|
private string _CREATEUSER = string.Empty;
|
|
private string _CREATETIME = string.Empty;
|
|
private string _MODIFIEDUSER = string.Empty;
|
|
private string _MODIFIEDTIME = string.Empty;
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string NAME
|
|
{
|
|
get { return _NAME; }
|
|
set { _NAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DESCRIPTION
|
|
{
|
|
get { return _DESCRIPTION; }
|
|
set { _DESCRIPTION = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TYPENO
|
|
{
|
|
get { return _TYPENO; }
|
|
set { _TYPENO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CREATEUSER
|
|
{
|
|
get { return _CREATEUSER; }
|
|
set { _CREATEUSER = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CREATETIME
|
|
{
|
|
get { return _CREATETIME; }
|
|
set { _CREATETIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _MODIFIEDUSER; }
|
|
set { _MODIFIEDUSER = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MODIFIEDTIME
|
|
{
|
|
get { return _MODIFIEDTIME; }
|
|
set { _MODIFIEDTIME = value; }
|
|
}
|
|
|
|
public WorkFlowTypemb()
|
|
{
|
|
TableName = "WorkFlow_Type";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class WorkFlowmb : ModelObjectBillHead
|
|
{
|
|
private string _GID = string.Empty;
|
|
private string _NAME = string.Empty;
|
|
private string _DESCRIPTION = string.Empty;
|
|
private string _TYPE = string.Empty;
|
|
private string _CREATEUSER = string.Empty;
|
|
private string _CREATEUSER_REF = string.Empty;
|
|
private string _CREATETIME = string.Empty;
|
|
private string _MODIFIEDUSER = string.Empty;
|
|
private string _MODIFIEDUSER_REF = string.Empty;
|
|
private string _MODIFIEDTIME = string.Empty;
|
|
private string _COMPANYID = string.Empty;
|
|
private string _COMPANY_REF = string.Empty;
|
|
private string _ISDEFAULT = string.Empty;
|
|
private string _SORTNO ="0";
|
|
private bool _ISCONDITION = false;
|
|
private string _CONDITIONSQL = string.Empty;
|
|
//private string _DEPT_REF = string.Empty;
|
|
//private string _PATHID = string.Empty;
|
|
//private string _PATHNAME = string.Empty;
|
|
private string _TYPENO = string.Empty;
|
|
private string _isAuto = string.Empty;//20190911 计算列 如果是可以自动通过的 则为1否则为0
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string NAME
|
|
{
|
|
get { return _NAME; }
|
|
set { _NAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DESCRIPTION
|
|
{
|
|
get { return _DESCRIPTION; }
|
|
set { _DESCRIPTION = value; }
|
|
}
|
|
[ModelDB]
|
|
public string TYPE
|
|
{
|
|
get { return _TYPE; }
|
|
set { _TYPE = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string CREATEUSER
|
|
{
|
|
get { return _CREATEUSER; }
|
|
set { _CREATEUSER = value; }
|
|
}
|
|
|
|
public string CREATEUSER_REF
|
|
{
|
|
get { return _CREATEUSER_REF; }
|
|
set { _CREATEUSER_REF = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string CREATETIME
|
|
{
|
|
get { return _CREATETIME; }
|
|
set { _CREATETIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _MODIFIEDUSER; }
|
|
set { _MODIFIEDUSER = value; }
|
|
}
|
|
|
|
public string MODIFIEDUSER_REF
|
|
{
|
|
get { return _MODIFIEDUSER_REF; }
|
|
set { _MODIFIEDUSER_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MODIFIEDTIME
|
|
{
|
|
get { return _MODIFIEDTIME; }
|
|
set { _MODIFIEDTIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COMPANYID
|
|
{
|
|
get { return _COMPANYID; }
|
|
set { _COMPANYID = value; }
|
|
}
|
|
public string COMPANY_REF
|
|
{
|
|
get { return _COMPANY_REF; }
|
|
set { _COMPANY_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ISDEFAULT
|
|
{
|
|
get { return _ISDEFAULT; }
|
|
set { _ISDEFAULT = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public bool ISCONDITION
|
|
{
|
|
get { return _ISCONDITION; }
|
|
set { _ISCONDITION = value; }
|
|
}
|
|
[ModelDB]
|
|
public string SORTNO
|
|
{
|
|
get { return _SORTNO; }
|
|
set { _SORTNO = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string CONDITIONSQL
|
|
{
|
|
get { return _CONDITIONSQL; }
|
|
set { _CONDITIONSQL = value; }
|
|
}
|
|
|
|
public string TYPENO
|
|
{
|
|
get { return _TYPENO; }
|
|
set { _TYPENO = value; }
|
|
}
|
|
public string isAuto
|
|
{
|
|
get { return _isAuto; }
|
|
set { _isAuto = value; }
|
|
}
|
|
public WorkFlowmb()
|
|
{
|
|
TableName = "WorkFlow";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
|
|
public override string GetTimeMarkFieldName()
|
|
{
|
|
return "";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class WorkFlowStepmb : ModelObjectBillBody
|
|
{
|
|
private string _GID = string.Empty;
|
|
private string _NAME = string.Empty;
|
|
private string _DESCRIPTION = string.Empty;
|
|
private string _WORKFLOWID = string.Empty;
|
|
private string _STEPNO = string.Empty;
|
|
private string _AUDITOR = string.Empty;
|
|
private string _AUDITOR_REF = string.Empty;
|
|
private string _ISLAST = string.Empty;
|
|
private string _ISLAST_REF = string.Empty;
|
|
private string _GROUPID = string.Empty;
|
|
private string _NEXTGROUP = string.Empty;
|
|
private string _CREATEUSER = string.Empty;
|
|
private string _CREATEUSER_REF = string.Empty;
|
|
private string _CREATETIME = string.Empty;
|
|
private string _MODIFIEDUSER = string.Empty;
|
|
private string _MODIFIEDUSER_REF = string.Empty;
|
|
private string _MODIFIEDTIME = string.Empty;
|
|
private string _REMARK = string.Empty;
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string NAME
|
|
{
|
|
get { return _NAME; }
|
|
set { _NAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DESCRIPTION
|
|
{
|
|
get { return _DESCRIPTION; }
|
|
set { _DESCRIPTION = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKFLOWID
|
|
{
|
|
get { return _WORKFLOWID; }
|
|
set { _WORKFLOWID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string STEPNO
|
|
{
|
|
get { return _STEPNO; }
|
|
set { _STEPNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string AUDITOR
|
|
{
|
|
get { return _AUDITOR; }
|
|
set { _AUDITOR = value; }
|
|
}
|
|
|
|
public string AUDITOR_REF
|
|
{
|
|
get { return _AUDITOR_REF; }
|
|
set { _AUDITOR_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ISLAST
|
|
{
|
|
get { return _ISLAST; }
|
|
set { _ISLAST = value; }
|
|
}
|
|
public string ISLAST_REF
|
|
{
|
|
get { return _ISLAST_REF; }
|
|
set { _ISLAST_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string GROUPID
|
|
{
|
|
get { return _GROUPID; }
|
|
set { _GROUPID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string NEXTGROUP
|
|
{
|
|
get { return _NEXTGROUP; }
|
|
set { _NEXTGROUP = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CREATEUSER
|
|
{
|
|
get { return _CREATEUSER; }
|
|
set { _CREATEUSER = value; }
|
|
}
|
|
|
|
public string CREATEUSER_REF
|
|
{
|
|
get { return _CREATEUSER_REF; }
|
|
set { _CREATEUSER_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CREATETIME
|
|
{
|
|
get { return _CREATETIME; }
|
|
set { _CREATETIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _MODIFIEDUSER; }
|
|
set { _MODIFIEDUSER = value; }
|
|
}
|
|
|
|
public string MODIFIEDUSER_REF
|
|
{
|
|
get { return _MODIFIEDUSER_REF; }
|
|
set { _MODIFIEDUSER_REF = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MODIFIEDTIME
|
|
{
|
|
get { return _MODIFIEDTIME; }
|
|
set { _MODIFIEDTIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _REMARK; }
|
|
set { _REMARK = value; }
|
|
}
|
|
|
|
|
|
public WorkFlowStepmb()
|
|
{
|
|
TableName = "WorkFlow_Step";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "WORKFLOWID";
|
|
}
|
|
}
|
|
/*
|
|
[JsonObject]
|
|
public class WorkFlowUserStatemb : ModelObjectBillBody
|
|
{
|
|
private string _ID = string.Empty;
|
|
private string _USERID = string.Empty;
|
|
private string _USERNAME = string.Empty;
|
|
private string _WORKFLOWID = string.Empty;
|
|
private string _WORKFLOWTYPENO = string.Empty;
|
|
private string _WORKFLOWNAME = string.Empty;
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
|
|
public string ID
|
|
{
|
|
get { return _ID; }
|
|
set { _ID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string USERID
|
|
{
|
|
get { return _USERID; }
|
|
set { _USERID = value; }
|
|
}
|
|
|
|
public string USERNAME
|
|
{
|
|
get { return _USERNAME; }
|
|
set { _USERNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKFLOWID
|
|
{
|
|
get { return _WORKFLOWID; }
|
|
set { _WORKFLOWID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKFLOWTYPENO
|
|
{
|
|
get { return _WORKFLOWTYPENO; }
|
|
set { _WORKFLOWTYPENO = value; }
|
|
}
|
|
public string WORKFLOWNAME
|
|
{
|
|
get { return _WORKFLOWNAME; }
|
|
set { _WORKFLOWNAME = value; }
|
|
}
|
|
|
|
|
|
public WorkFlowUserStatemb()
|
|
{
|
|
TableName = "WorkFlow_UserPath";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "WORKFLOWID";
|
|
}
|
|
}
|
|
*/
|
|
[JsonObject]
|
|
public class WorkFlowUserPathmb : ModelObjectBillBody
|
|
{
|
|
private string _ID = string.Empty;
|
|
private string _USERID = string.Empty;
|
|
private string _USERNAME = string.Empty;
|
|
private string _DEPTNAME = string.Empty;
|
|
private string _WORKFLOWID = string.Empty;
|
|
private string _WORKFLOWTYPENO = string.Empty;
|
|
private string _WORKFLOWNAME = string.Empty;
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.EditDelete, IsPrimary = true)]
|
|
public string ID
|
|
{
|
|
get { return _ID; }
|
|
set { _ID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string USERID
|
|
{
|
|
get { return _USERID; }
|
|
set { _USERID = value; }
|
|
}
|
|
|
|
public string USERNAME
|
|
{
|
|
get { return _USERNAME; }
|
|
set { _USERNAME = value; }
|
|
}
|
|
public string DEPTNAME
|
|
{
|
|
get { return _DEPTNAME; }
|
|
set { _DEPTNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKFLOWID
|
|
{
|
|
get { return _WORKFLOWID; }
|
|
set { _WORKFLOWID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKFLOWTYPENO
|
|
{
|
|
get { return _WORKFLOWTYPENO; }
|
|
set { _WORKFLOWTYPENO = value; }
|
|
}
|
|
public string WORKFLOWNAME
|
|
{
|
|
get { return _WORKFLOWNAME; }
|
|
set { _WORKFLOWNAME = value; }
|
|
}
|
|
|
|
|
|
public WorkFlowUserPathmb()
|
|
{
|
|
TableName = "WorkFlow_UserPath";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "WORKFLOWID";
|
|
}
|
|
}
|
|
/*
|
|
[JsonObject]
|
|
public class Resultmb : ModelObjectBillBody
|
|
{//{ Success = true, Message = "查询成功", totalCount = dataList.Count, data = list.ToList() }
|
|
private Boolean _success = true;
|
|
private string _message = string.Empty;
|
|
private int _count = 0;
|
|
private Boolean _islast = false;
|
|
|
|
public Boolean Success
|
|
{
|
|
get { return _success; }
|
|
set { _success = value; }
|
|
}
|
|
public string Message
|
|
{
|
|
get { return _message; }
|
|
set { _message = value; }
|
|
}
|
|
public int totalCount
|
|
{
|
|
get { return _count; }
|
|
set { _count = value; }
|
|
}
|
|
public Boolean islast
|
|
{
|
|
get { return _islast; }
|
|
set { _islast = value; }
|
|
}
|
|
}
|
|
*/
|
|
[JsonObject]
|
|
public class WorkFlow_Usingmb : ModelObjectBillBody
|
|
{//使用中的工作流状态
|
|
private string _BSNO = string.Empty;
|
|
private string _WORKFLOWID = string.Empty;
|
|
private string _STEPNO = string.Empty;
|
|
private string _REJECTOR_ID = string.Empty;
|
|
private string _REJECT_TIME = string.Empty;
|
|
private string _FINISHED = string.Empty;
|
|
private string _ISDELETE = string.Empty;
|
|
private string _DELETEUSER = string.Empty;
|
|
private string _DELETETIME = string.Empty;
|
|
|
|
[ModelDB]
|
|
public string BSNO
|
|
{
|
|
get { return _BSNO; }
|
|
set { _BSNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string WORKFLOWID
|
|
{
|
|
get { return _WORKFLOWID; }
|
|
set { _WORKFLOWID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string STEPNO
|
|
{
|
|
get { return _STEPNO; }
|
|
set { _STEPNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REJECTOR_ID
|
|
{
|
|
get { return _REJECTOR_ID; }
|
|
set { _REJECTOR_ID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REJECT_TIME
|
|
{
|
|
get { return _REJECT_TIME; }
|
|
set { _REJECT_TIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FINISHED
|
|
{
|
|
get { return _FINISHED; }
|
|
set { _FINISHED = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ISDELETE
|
|
{
|
|
get { return _ISDELETE; }
|
|
set { _ISDELETE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DELETEUSER
|
|
{
|
|
get { return _DELETEUSER; }
|
|
set { _DELETEUSER = value; }
|
|
}
|
|
[ModelDB]
|
|
public string DELETETIME
|
|
{
|
|
get { return _DELETETIME; }
|
|
set { _DELETETIME = value; }
|
|
}
|
|
|
|
public WorkFlow_Usingmb ( )
|
|
{
|
|
|
|
TableName = "workflow_using";
|
|
}
|
|
|
|
public override string GetBillNoFieldName ( )
|
|
{
|
|
return "WORKFLOWID";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class WorkLogmb : ModelObjectBillHead
|
|
{//工作日志列表
|
|
private string _GID = string.Empty;
|
|
private string _BSNO = string.Empty;
|
|
private string _OP = string.Empty;
|
|
private string _OPDATE = string.Empty;
|
|
private string _ACTNAME = string.Empty;
|
|
private string _ACTRESULT = string.Empty;
|
|
private string _REMARK = string.Empty;
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
[ModelDB]
|
|
public string BSNO
|
|
{
|
|
get { return _BSNO; }
|
|
set { _BSNO = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OP
|
|
{
|
|
get { return _OP; }
|
|
set { _OP = value; }
|
|
}
|
|
[ModelDB]
|
|
public string OPDATE
|
|
{
|
|
get { return _OPDATE; }
|
|
set { _OPDATE = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ACTNAME
|
|
{
|
|
get { return _ACTNAME; }
|
|
set { _ACTNAME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string ACTRESULT
|
|
{
|
|
get { return _ACTRESULT; }
|
|
set { _ACTRESULT = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _REMARK; }
|
|
set { _REMARK = value; }
|
|
}
|
|
|
|
public WorkLogmb ( )
|
|
{
|
|
|
|
TableName = "WorkLog";
|
|
}
|
|
|
|
public override string GetBillNoFieldName ( )
|
|
{
|
|
return "BSNO";
|
|
}
|
|
|
|
public override string GetTimeMarkFieldName ( )
|
|
{
|
|
return "";
|
|
}
|
|
}
|
|
} |