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.
119 lines
3.4 KiB
C#
119 lines
3.4 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCodeOpStatus
|
|
{
|
|
[JsonObject]
|
|
public class MsCodeOpStatus : ModelObjectBillHead
|
|
{
|
|
#region 私有成员
|
|
private string _GID = "*";
|
|
private string _CORPID = String.Empty;
|
|
private string _DESCRIPTION = "";
|
|
private string _OPTYPE = "";
|
|
private string _OPTYPESTR = "";
|
|
private string _STTYPE = "";
|
|
private string _STTYPESTR = "";
|
|
private string _CREATEUSER = "";
|
|
#endregion
|
|
|
|
|
|
#region 读写属性
|
|
|
|
/// <summary>
|
|
/// 业务编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID { get { return _GID; } set { _GID = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
public string DESCRIPTION { get { return _DESCRIPTION; } set { _DESCRIPTION = value; } }
|
|
|
|
[ModelDB]
|
|
public string OPTYPE { get { return _OPTYPE; } set { _OPTYPE = value; } }
|
|
public string OPTYPESTR { get { return _OPTYPESTR; } set { _OPTYPESTR = value; } }
|
|
|
|
[ModelDB]
|
|
public string STTYPE { get { return _STTYPE; } set { _STTYPE = value; } }
|
|
public string STTYPESTR { get { return _STTYPESTR; } set { _STTYPESTR = value; } }
|
|
|
|
[ModelDB]
|
|
public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } }
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
public MsCodeOpStatus()
|
|
{
|
|
TableName = "code_op_status";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class MsCodeOpStatusDetail : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _GID = "*";//业务编号
|
|
private decimal _serialNo = 0;
|
|
private string _OPTYPE = "";
|
|
private string _STTYPE = "";
|
|
private string _OPSTATUS = "";
|
|
private string _CORPID = "";
|
|
private string _REMARKS = "";
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
/// <summary>
|
|
/// 业务编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID { get { return _GID; } set { _GID = value; } }
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public decimal SerialNo
|
|
{
|
|
get { return _serialNo; }
|
|
set { _serialNo = value; }
|
|
}
|
|
[ModelDB]
|
|
public string COLOR { get; set; }
|
|
|
|
[ModelDB]
|
|
public string OPTYPE { get { return _OPTYPE; } set { _OPTYPE = value; } }
|
|
|
|
[ModelDB]
|
|
public string OPSTATUS { get { return _OPSTATUS; } set { _OPSTATUS = value; } }
|
|
[ModelDB]
|
|
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
|
|
|
|
[ModelDB]
|
|
public string REMARKS { get { return _REMARKS; } set { _REMARKS = value; } }
|
|
[ModelDB]
|
|
public string STTYPE { get { return _STTYPE; } set { _STTYPE = value; } }
|
|
#endregion
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
#endregion
|
|
}
|