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.
127 lines
3.3 KiB
C#
127 lines
3.3 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCodeOpService
|
|
{
|
|
[JsonObject]
|
|
public class MsCodeOpService : ModelObjectBillHead
|
|
{
|
|
#region 私有成员
|
|
private string _OS_ID = "*";
|
|
private string _OPField = "";
|
|
private string _CORPID = String.Empty;
|
|
private string _SERVICENAME = "";
|
|
private string _OPTYPE = "";
|
|
private string _OPTYPESTR = "";
|
|
private string _REMARK = "";
|
|
private int _SORT =0;
|
|
#endregion
|
|
|
|
|
|
#region 读写属性
|
|
|
|
/// <summary>
|
|
/// 业务编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string OS_ID { get { return _OS_ID; } set { _OS_ID = value; } }
|
|
|
|
/// <summary>
|
|
/// 业务状态
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string OPField { get { return _OPField; } set { _OPField = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
public string SERVICENAME { get { return _SERVICENAME; } set { _SERVICENAME = value; } }
|
|
|
|
[ModelDB]
|
|
public string OPTYPE { get { return _OPTYPE; } set { _OPTYPE = value; } }
|
|
public string OPTYPESTR { get { return _OPTYPESTR; } set { _OPTYPESTR = value; } }
|
|
|
|
[ModelDB]
|
|
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
|
|
|
|
[ModelDB]
|
|
public int SORT { get { return _SORT; } set { _SORT = value; } }
|
|
|
|
|
|
[ModelDB]
|
|
public string ENAME { get; set; }
|
|
|
|
#endregion
|
|
|
|
public MsCodeOpService()
|
|
{
|
|
TableName = "code_op_service";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "OS_ID";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class MsCodeOpServiceDetail : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _OS_ID = "*";//业务编号
|
|
private decimal _serialNo = 0;
|
|
private string _NAME = "";
|
|
private decimal _workload = 0;
|
|
private string _REMARK = "";
|
|
private string _FEENAME = "";
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
/// <summary>
|
|
/// 业务编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string OS_ID { get { return _OS_ID; } set { _OS_ID = value; } }
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public decimal SerialNo
|
|
{
|
|
get { return _serialNo; }
|
|
set { _serialNo = value; }
|
|
}
|
|
|
|
|
|
[ModelDB]
|
|
public string NAME{ get { return _NAME; } set { _NAME = value; } }
|
|
|
|
[ModelDB]
|
|
public decimal WORKLOAD
|
|
{
|
|
get { return _workload; }
|
|
set { _workload = value; }
|
|
}
|
|
[ModelDB]
|
|
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
|
|
[ModelDB]
|
|
public string FEENAME { get { return _FEENAME; } set { _FEENAME = value; } }
|
|
|
|
|
|
#endregion
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "OS_ID";
|
|
}
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
#endregion
|
|
}
|