using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpTask
{
[JsonObject]
public class OpTask : ModelObjectBillHead
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _TASKNO;//
private string _PTASKNO;//
private string _TASKTYPE;
private string _TASKSOURCE;
private string _TASKTITLE;
private string _TASKSTATUS;
private string _TASKDESCRIP;
private string _COMPLETETYPE;
private string _MBLNO;
private string _FILENO;
private string _MAILNO;
private string _FILEPATH;
private string _TASKBEGINDATE;
private string _COMPLETETIME;
private string _KPI;
private string _OP;
private string _BSNO;
private string _ISCOMPLETE;
private string _REMARKS;
private string _ISPUBLIC;
private string _CORPID;
private string _CREATEUSER;
private string _CREATEUSERREF;
private string _CREATETIME;//录入日期
#endregion
public OpTask()
{
TableName = "Op_Task";
}
#region 读写属性
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string TASKNO
{
get { return _TASKNO; }
set { _TASKNO = value; }
}
[ModelDB]
public string PTASKNO
{
get { return _PTASKNO; }
set { _PTASKNO = value; }
}
[ModelDB]
public string TASKTYPE
{
get { return _TASKTYPE; }
set { _TASKTYPE = value; }
}
[ModelDB]
public string TASKSOURCE
{
get { return _TASKSOURCE; }
set { _TASKSOURCE = value; }
}
[ModelDB]
public string TASKTITLE
{
get { return _TASKTITLE; }
set { _TASKTITLE = value; }
}
[ModelDB]
public string TASKSTATUS
{
get { return _TASKSTATUS; }
set { _TASKSTATUS = value; }
}
[ModelDB]
public string TASKDESCRIP
{
get { return _TASKDESCRIP; }
set { _TASKDESCRIP = value; }
}
[ModelDB]
public string COMPLETETYPE
{
get { return _COMPLETETYPE; }
set { _COMPLETETYPE = value; }
}
[ModelDB]
public string MBLNO
{
get { return _MBLNO; }
set { _MBLNO = value; }
}
[ModelDB]
public string FILENO
{
get { return _FILENO; }
set { _FILENO = value; }
}
[ModelDB]
public string MAILNO
{
get { return _MAILNO; }
set { _MAILNO = value; }
}
[ModelDB]
public string FILEPATH
{
get { return _FILEPATH; }
set { _FILEPATH = value; }
}
[ModelDB]
public string TASKBEGINDATE
{
get { return _TASKBEGINDATE; }
set { _TASKBEGINDATE = value; }
}
[ModelDB]
public string COMPLETETIME
{
get { return _COMPLETETIME; }
set { _COMPLETETIME = value; }
}
[ModelDB]
public string KPI
{
get { return _KPI; }
set { _KPI = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
public string CREATEUSERREF
{
get { return _CREATEUSERREF; }
set { _CREATEUSERREF = value; }
}
[ModelDB]
public string CORPID
{
get { return _CORPID; }
set { _CORPID = value; }
}
[ModelDB]
public string ISPUBLIC
{
get { return _ISPUBLIC; }
set { _ISPUBLIC = value; }
}
///
[ModelDB]
public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } }
///
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
[ModelDB]
public string ISCOMPLETE
{
get { return _ISCOMPLETE; }
set { _ISCOMPLETE = value; }
}
public string ETD { get; set; }
public string CARRIER { get; set; }
public string CUSTOMERNAME { get; set; }
public string CUSTNO { get; set; }
#endregion
}
[JsonObject]
public class OpTaskState : ModelObjectBillBody
{
#region private Fields
private string _GID = String.Empty;
private string _TASKNO = String.Empty;
private string _TASKSTATUS = String.Empty;
private string _OP = String.Empty;
private string _OPTIME = String.Empty;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string TASKNO
{
get { return _TASKNO; }
set { _TASKNO = value; }
}
[ModelDB]
public string TASKSTATUS
{
get { return _TASKSTATUS; }
set { _TASKSTATUS = value; }
}
[ModelDB]
public string OP
{
get { return _OP; }
set { _OP = value; }
}
[ModelDB]
public string OPTIME
{
get { return _OPTIME; }
set { _OPTIME = value; }
}
#endregion
public OpTaskState()
{
TableName = "OP_TASK_STATE";
}
override public string GetBillNoFieldName()
{
return "TASKNO";
}
}
}