|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpHistry
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpHistry : ModelObjectBill
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _GID = "";//业务编号
|
|
|
|
|
private string _BSNO = "";//业务编号
|
|
|
|
|
private string _HSTYPE = "";//业务编号
|
|
|
|
|
private string _INPUTBY = "";//操作员
|
|
|
|
|
private string _INPUTBYREF = "";//操作员
|
|
|
|
|
private string _INPUTTIME = "";//操作员
|
|
|
|
|
private string _BSTEXT = "";//操作员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID { get { return _GID; } set { _GID = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string HSTYPE { get { return _HSTYPE; } set { _HSTYPE = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
|
|
|
|
|
public string INPUTBYREF { get { return _INPUTBYREF; } set { _INPUTBYREF = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string INPUTTIME { get { return _INPUTTIME; } set { _INPUTTIME = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string BSTEXT { get { return _BSTEXT; } set { _BSTEXT = value; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpHistry()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_histry";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpHistryDetail : ModelObjectBill
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _GID = "";//业务编号
|
|
|
|
|
private string _LINKGID = "";//业务编号
|
|
|
|
|
private string _BSNO = "";//业务编号
|
|
|
|
|
private string _HSTYPE = "";//业务编号
|
|
|
|
|
private string _INPUTBY = "";//操作员
|
|
|
|
|
private string _INPUTBYREF = "";//操作员
|
|
|
|
|
private string _INPUTTIME = "";//操作员
|
|
|
|
|
private string _BSTEXT = "";//操作员
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string BSNO { get { return _BSNO; } set { _BSNO = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string GID { get { return _GID; } set { _GID = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string LINKGID { get { return _LINKGID; } set { _LINKGID = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string HSTYPE { get { return _HSTYPE; } set { _HSTYPE = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string INPUTBY { get { return _INPUTBY; } set { _INPUTBY = value; } }
|
|
|
|
|
public string INPUTBYREF { get { return _INPUTBYREF; } set { _INPUTBYREF = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string INPUTTIME { get { return _INPUTTIME; } set { _INPUTTIME = value; } }
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string BSTEXT { get { return _BSTEXT; } set { _BSTEXT = value; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpHistryDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_histry_detail";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "LINKGID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|